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. More...
 
 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  )

◆ route()

void route ( void  )

Print routing table.

Definition at line 39 of file route.c.

39  {
40  struct net_device *netdev;
41  struct routing_family *family;
42 
45  family->print ( netdev );
46  }
47  }
48 }
#define ROUTING_FAMILIES
Routing family table.
Definition: route.h:25
static struct net_device * netdev
Definition: gdbudp.c:52
A routing family.
Definition: route.h:15
void(* print)(struct net_device *netdev)
Print routes for a network device.
Definition: route.h:21
#define for_each_netdev(netdev)
Iterate over all network devices.
Definition: netdevice.h:526
#define for_each_table_entry(pointer, table)
Iterate through all entries within a linker table.
Definition: tables.h:358
A network device.
Definition: netdevice.h:348

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().

◆ REQUIRING_SYMBOL()

REQUIRING_SYMBOL ( route  )

◆ REQUIRE_OBJECT()

REQUIRE_OBJECT ( config_route  )