54 printf (
" (inaccessible)" );
struct in_addr netmask
Subnet mask.
int printf(const char *fmt,...)
Write a formatted string to the console.
struct list_head list
List of miniroutes.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
struct net_device * netdev
Network device.
struct in_addr address
IPv4 address.
static void route_ipv4_print(struct net_device *netdev)
Print IPv4 routing table.
struct routing_family ipv4_routing_family __routing_family(ROUTING_IPV4)
IPv4 routing family.
static int netdev_is_open(struct net_device *netdev)
Check whether or not network device is open.
An IPv4 address/routing table entry.
#define list_for_each_entry(pos, head, member)
Iterate over entries in a list.
struct in_addr gateway
Gateway address, or zero for no gateway.
static struct net_device * netdev
void(* print)(struct net_device *netdev)
Print routes for a network device.
char * inet_ntoa(struct in_addr in)
Convert IPv4 address to dotted-quad notation.
struct list_head ipv4_miniroutes
List of IPv4 miniroutes.
Network device management.
char name[NETDEV_NAME_LEN]
Name of this network device.