15 #include <sys/types.h> 18 #include <netinet/in.h> 34 char interface[sr_IFACE_NAMELEN];
40 void sr_add_rt_entry(
struct sr_instance*,
struct in_addr,
struct in_addr,
41 struct in_addr,
char*);
42 void sr_print_routing_table(
struct sr_instance* sr);
43 void sr_print_routing_entry(
struct sr_rt* entry);
Data structures and methods for handeling interfaces.
Struct which encapsulates all the state of a single router.
Definition: sr_router.h:59