X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/918a7b42017533f6f18edc8735d6d82a5494f055..78d6e1ce97611abe9f0d083033197773f93c33f7:/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 :