X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/918a7b42017533f6f18edc8735d6d82a5494f055..f48d95822c7810a45daf26854de7262ccc20a940:/practicas/pipi/src/routetable.h?ds=sidebyside diff --git a/practicas/pipi/src/routetable.h b/practicas/pipi/src/routetable.h index 20f62e8..d534d16 100644 --- a/practicas/pipi/src/routetable.h +++ b/practicas/pipi/src/routetable.h @@ -4,6 +4,7 @@ #include "dev.h" #include "ipaddr.h" #include +#include /// Tabla de ruteo struct RouteTable @@ -41,6 +42,9 @@ struct RouteTable }; +/// Agrega rutas desde un stream de datos con un cierto dispositivo +void add_routes(RouteTable& rt, std::istream& is, Dev& dev); + #endif // _ROUTETABLE_H_ // vim: set et sw=4 sts=4 :