diff --git a/src/sys/include/net/netif.h b/src/sys/include/net/netif.h index 64f6607..5bb678b 100644 --- a/src/sys/include/net/netif.h +++ b/src/sys/include/net/netif.h @@ -44,17 +44,22 @@ #include "net/pbuf.h" -struct route_cache_entry { - struct route_cache_entry *next; +/* Start of RouteNG Pseudocode */ +/* Route Cache Linked List + Not the fastest or leanest method, but its a start. + Dupliates almost 100% the layout of the netif table + allow complete reuse of existing routines for the + netif table to manipulate the route_cache table. */ +/* struct route_cache { + struct netif *next; uInt8 num; struct ip_addr ip_addr; - struct ip_addr netmask; /* netmask in network byte order */ + struct ip_addr netmask; struct ip_addr gw; char hwaddr[6]; char name[2]; -} - -void route_cache_init(); + void *state; +}; */ struct netif { struct netif *next;