iPXE
Functions
route.c File Reference

Routing management. More...

#include <ipxe/netdevice.h>
#include <usr/route.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
void route (void)
 Print routing table.
 REQUIRING_SYMBOL (route)
 REQUIRE_OBJECT (config_route)

Detailed Description

Routing management.

Definition in file route.c.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
void route ( void  )

Print routing table.

Definition at line 39 of file route.c.

References for_each_netdev, for_each_table_entry, netdev, routing_family::print, and ROUTING_FAMILIES.

Referenced by ipv6_table_okx(), netboot(), route_exec(), and usb_route_string().

                    {
        struct net_device *netdev;
        struct routing_family *family;

        for_each_netdev ( netdev ) {
                for_each_table_entry ( family, ROUTING_FAMILIES ) {
                        family->print ( netdev );
                }
        }
}
REQUIRE_OBJECT ( config_route  )