10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
12 #include <ipxe/tables.h>
14 /** A routing family */
15 struct routing_family {
17 * Print routes for a network device
19 * @v netdev Network device
21 void ( * print ) ( struct net_device *netdev );
24 /** Routing family table */
25 #define ROUTING_FAMILIES __table ( struct routing_family, "routing_families" )
27 /** Declare a routing family */
28 #define __routing_family( order ) __table_entry ( ROUTING_FAMILIES, order )
30 #define ROUTING_IPV4 01
31 #define ROUTING_IPV6 02
33 extern void route ( void );
35 #endif /* _USR_ROUTE_H */