54 printf (
" (no address)" );
56 printf (
" (inaccessible)" );
int printf(const char *fmt,...)
Write a formatted string to the console.
char * inet6_ntoa(const struct in6_addr *in)
Convert IPv6 address to standard notation.
An IPv6 address/routing table entry.
struct in6_addr router
Router address.
static int netdev_is_open(struct net_device *netdev)
Check whether or not network device is open.
#define list_for_each_entry(pos, head, member)
Iterate over entries in a list.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
static struct net_device * netdev
void(* print)(struct net_device *netdev)
Print routes for a network device.
struct list_head list
List of miniroutes.
static void route_ipv6_print(struct net_device *netdev)
Print IPv6 routing table.
struct list_head ipv6_miniroutes
List of IPv6 miniroutes.
struct net_device * netdev
Network device.
Network device management.
char name[NETDEV_NAME_LEN]
Name of this network device.
struct routing_family ipv6_routing_family __routing_family(ROUTING_IPV6)
IPv6 routing family.
Routing table entry address is valid.
Routing table entry router address is valid.
unsigned int prefix_len
Prefix length.
struct in6_addr address
IPv6 address (or prefix if no address is defined)