X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/51f24d14e8c4c52776a98c8e2aaacf95f90ad1f4..0a2739fe97762f57a80599ef170df98e07422a3d:/practicas/pipi/src/ipout.h diff --git a/practicas/pipi/src/ipout.h b/practicas/pipi/src/ipout.h index 61c2111..ae88509 100644 --- a/practicas/pipi/src/ipout.h +++ b/practicas/pipi/src/ipout.h @@ -3,7 +3,7 @@ #include "ipaddr.h" #include "ipheader.h" -#include "dev.h" +#include "routetable.h" #include #include #include @@ -15,14 +15,14 @@ struct IPOut /// Dirección MAC IPAddr ip; - /// Dispositivo de red - Dev& dev; + /// Dispositivo de logging + RouteTable& rtable; /// Dispositivo de logging std::ostream& log; /// Constructor - IPOut(const IPAddr& ip, Dev& dev, std::ostream& log = std::cout); + IPOut(const IPAddr& ip, RouteTable& rtable, std::ostream& log = std::cout); /// Descarta un paquete void drop(const std::string& msg, const std::string& buf);