X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/918a7b42017533f6f18edc8735d6d82a5494f055..cc20509697bcad0600d4622c275b53ac65445776:/practicas/pipi/src/routetable.h 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 :