Revision f4a60a9b lib/net.c

View differences:

lib/net.c
4 4
#include "lib/net.h"
5 5

  
6 6

  
7
const char * const net_label[] = {
8
  [NET_IP4] = "ipv4",
9
  [NET_IP6] = "ipv6",
10
  [NET_VPN4] = "vpn4",
11
  [NET_VPN6] = "vpn6"
12
};
13

  
7 14
const u16 net_addr_length[] = {
8 15
  [NET_IP4] = sizeof(net_addr_ip4),
9 16
  [NET_IP6] = sizeof(net_addr_ip6),

Also available in: Unified diff