diff --git a/src/sys/include/net/netif.h b/src/sys/include/net/netif.h index 5bb678b..f4f233b 100644 --- a/src/sys/include/net/netif.h +++ b/src/sys/include/net/netif.h @@ -50,7 +50,7 @@ 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 route_cache { struct netif *next; uInt8 num; struct ip_addr ip_addr; @@ -59,7 +59,11 @@ char hwaddr[6]; char name[2]; void *state; -}; */ +}; + +extern struct route_cache *route_cache_list; + +void route_cache_init(); struct netif { struct netif *next;