iPXE
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)
 FILE_SECBOOT (PERMITTED)
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()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ route()

void route ( void )

Print routing table.

Definition at line 40 of file route.c.

40 {
41 struct net_device *netdev;
42 struct routing_family *family;
43
46 family->print ( netdev );
47 }
48 }
49}
static struct net_device * netdev
Definition gdbudp.c:53
#define for_each_netdev(netdev)
Iterate over all network devices.
Definition netdevice.h:547
#define ROUTING_FAMILIES
Routing family table.
Definition route.h:26
A network device.
Definition netdevice.h:353
A routing family.
Definition route.h:16
void(* print)(struct net_device *netdev)
Print routes for a network device.
Definition route.h:22
#define for_each_table_entry(pointer, table)
Iterate through all entries within a linker table.
Definition tables.h:386

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

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

◆ REQUIRING_SYMBOL()

REQUIRING_SYMBOL ( route )

References route().

◆ REQUIRE_OBJECT()

REQUIRE_OBJECT ( config_route )