12#ifndef __IANA_INFO_H__
13#define __IANA_INFO_H__
16#include "ws_symbol_export.h"
30#define AFNUM_RESERVED_0 0
35#define AFNUM_BBN_1822 5
42#define AFNUM_APPLETALK 12
43#define AFNUM_DECNET_IV 13
44#define AFNUM_BANYAN_VINES 14
45#define AFNUM_E164_WITH_NSAP_FORMAT_SUBADDRESS 15
47#define AFNUM_DISTINGUISHED_NAME 17
48#define AFNUM_AS_NUMBER 18
49#define AFNUM_XTP_OVER_IP_VERSION_4 19
50#define AFNUM_XTP_OVER_IP_VERSION_6 20
51#define AFNUM_XTP_NATIVE_MODE_XTP 21
52#define AFNUM_FIBRE_CHANNEL_WORLD_WIDE_PORT_NAME 22
53#define AFNUM_FIBRE_CHANNEL_WORLD_WIDE_NODE_NAME 23
55#define AFNUM_AFI_FOR_L2VPN_INFORMATION 25
56#define AFNUM_MPLS_TP_SECTION_ENDPOINT_IDENTIFIER 26
57#define AFNUM_MPLS_TP_LSP_ENDPOINT_IDENTIFIER 27
58#define AFNUM_MPLS_TP_PSEUDOWIRE_ENDPOINT_IDENTIFIER 28
59#define AFNUM_MT_IP_MULTI_TOPOLOGY_IP_VERSION_4 29
60#define AFNUM_MT_IPV6_MULTI_TOPOLOGY_IP_VERSION_6 30
61#define AFNUM_BGP_SFC 31
62#define AFNUM_EIGRP_COMMON_SERVICE_FAMILY 16384
63#define AFNUM_EIGRP_IPV4_SERVICE_FAMILY 16385
64#define AFNUM_EIGRP_IPV6_SERVICE_FAMILY 16386
65#define AFNUM_LISP_CANONICAL_ADDRESS_FORMAT 16387
66#define AFNUM_BGP_LS 16388
67#define AFNUM_48_BIT_MAC 16389
68#define AFNUM_64_BIT_MAC 16390
69#define AFNUM_OUI 16391
70#define AFNUM_MAC_24 16392
71#define AFNUM_MAC_40 16393
72#define AFNUM_IPV6_64 16394
73#define AFNUM_RBRIDGE_PORT_ID 16395
74#define AFNUM_TRILL_NICKNAME 16396
75#define AFNUM_UNIVERSALLY_UNIQUE_IDENTIFIER 16397
76#define AFNUM_ROUTING_POLICY_AFI 16398
77#define AFNUM_MPLS_NAMESPACES 16399
78#define AFNUM_RESERVED_65535 65535
86#define IP_PROTO_HOPOPT 0
87#define IP_PROTO_ICMP 1
88#define IP_PROTO_IGMP 2
90#define IP_PROTO_IPV4 4
96#define IP_PROTO_BBN_RCC_MON 10
97#define IP_PROTO_NVP_II 11
98#define IP_PROTO_PUP 12
99#define IP_PROTO_ARGUS_DEPRECATED 13
100#define IP_PROTO_EMCON 14
101#define IP_PROTO_XNET 15
102#define IP_PROTO_CHAOS 16
103#define IP_PROTO_UDP 17
104#define IP_PROTO_MUX 18
105#define IP_PROTO_DCN_MEAS 19
106#define IP_PROTO_HMP 20
107#define IP_PROTO_PRM 21
108#define IP_PROTO_XNS_IDP 22
109#define IP_PROTO_TRUNK_1 23
110#define IP_PROTO_TRUNK_2 24
111#define IP_PROTO_LEAF_1 25
112#define IP_PROTO_LEAF_2 26
113#define IP_PROTO_RDP 27
114#define IP_PROTO_IRTP 28
115#define IP_PROTO_ISO_TP4 29
116#define IP_PROTO_NETBLT 30
117#define IP_PROTO_MFE_NSP 31
118#define IP_PROTO_MERIT_INP 32
119#define IP_PROTO_DCCP 33
120#define IP_PROTO_3PC 34
121#define IP_PROTO_IDPR 35
122#define IP_PROTO_XTP 36
123#define IP_PROTO_DDP 37
124#define IP_PROTO_IDPR_CMTP 38
125#define IP_PROTO_TP 39
126#define IP_PROTO_IL 40
127#define IP_PROTO_IPV6 41
128#define IP_PROTO_SDRP 42
129#define IP_PROTO_IPV6_ROUTE 43
130#define IP_PROTO_IPV6_FRAG 44
131#define IP_PROTO_IDRP 45
132#define IP_PROTO_RSVP 46
133#define IP_PROTO_GRE 47
134#define IP_PROTO_DSR 48
135#define IP_PROTO_BNA 49
136#define IP_PROTO_ESP 50
137#define IP_PROTO_AH 51
138#define IP_PROTO_I_NLSP 52
139#define IP_PROTO_SWIPE_DEPRECATED 53
140#define IP_PROTO_NARP 54
141#define IP_PROTO_MIN_IPV4 55
142#define IP_PROTO_TLSP 56
143#define IP_PROTO_SKIP 57
144#define IP_PROTO_IPV6_ICMP 58
145#define IP_PROTO_IPV6_NONXT 59
146#define IP_PROTO_IPV6_OPTS 60
147#define IP_PROTO_CFTP 62
148#define IP_PROTO_SAT_EXPAK 64
149#define IP_PROTO_KRYPTOLAN 65
150#define IP_PROTO_RVD 66
151#define IP_PROTO_IPPC 67
152#define IP_PROTO_SAT_MON 69
153#define IP_PROTO_VISA 70
154#define IP_PROTO_IPCV 71
155#define IP_PROTO_CPNX 72
156#define IP_PROTO_CPHB 73
157#define IP_PROTO_WSN 74
158#define IP_PROTO_PVP 75
159#define IP_PROTO_BR_SAT_MON 76
160#define IP_PROTO_SUN_ND 77
161#define IP_PROTO_WB_MON 78
162#define IP_PROTO_WB_EXPAK 79
163#define IP_PROTO_ISO_IP 80
164#define IP_PROTO_VMTP 81
165#define IP_PROTO_SECURE_VMTP 82
166#define IP_PROTO_VINES 83
167#define IP_PROTO_IPTM 84
168#define IP_PROTO_NSFNET_IGP 85
169#define IP_PROTO_DGP 86
170#define IP_PROTO_TCF 87
171#define IP_PROTO_EIGRP 88
172#define IP_PROTO_OSPFIGP 89
173#define IP_PROTO_SPRITE_RPC 90
174#define IP_PROTO_LARP 91
175#define IP_PROTO_MTP 92
176#define IP_PROTO_AX25 93
177#define IP_PROTO_IPIP 94
178#define IP_PROTO_MICP_DEPRECATED 95
179#define IP_PROTO_SCC_SP 96
180#define IP_PROTO_ETHERIP 97
181#define IP_PROTO_ENCAP 98
182#define IP_PROTO_GMTP 100
183#define IP_PROTO_IFMP 101
184#define IP_PROTO_PNNI 102
185#define IP_PROTO_PIM 103
186#define IP_PROTO_ARIS 104
187#define IP_PROTO_SCPS 105
188#define IP_PROTO_QNX 106
189#define IP_PROTO_A_N 107
190#define IP_PROTO_IPCOMP 108
191#define IP_PROTO_SNP 109
192#define IP_PROTO_COMPAQ_PEER 110
193#define IP_PROTO_IPX_IN_IP 111
194#define IP_PROTO_VRRP 112
195#define IP_PROTO_PGM 113
196#define IP_PROTO_L2TP 115
197#define IP_PROTO_DDX 116
198#define IP_PROTO_IATP 117
199#define IP_PROTO_STP 118
200#define IP_PROTO_SRP 119
201#define IP_PROTO_UTI 120
202#define IP_PROTO_SMP 121
203#define IP_PROTO_SM_DEPRECATED 122
204#define IP_PROTO_PTP 123
205#define IP_PROTO_ISIS_OVER_IPV4 124
206#define IP_PROTO_FIRE 125
207#define IP_PROTO_CRTP 126
208#define IP_PROTO_CRUDP 127
209#define IP_PROTO_SSCOPMCE 128
210#define IP_PROTO_IPLT 129
211#define IP_PROTO_SPS 130
212#define IP_PROTO_PIPE 131
213#define IP_PROTO_SCTP 132
214#define IP_PROTO_FC 133
215#define IP_PROTO_RSVP_E2E_IGNORE 134
216#define IP_PROTO_MOBILITY_HEADER 135
217#define IP_PROTO_UDPLITE 136
218#define IP_PROTO_MPLS_IN_IP 137
219#define IP_PROTO_MANET 138
220#define IP_PROTO_HIP 139
221#define IP_PROTO_SHIM6 140
222#define IP_PROTO_WESP 141
223#define IP_PROTO_ROHC 142
224#define IP_PROTO_ETHERNET 143
225#define IP_PROTO_AGGFRAG 144
226#define IP_PROTO_NSH 145
227#define IP_PROTO_HOMA 146
228#define IP_PROTO_BIT_EMU 147
229#define IP_PROTO_RESERVED 255
247} ws_services_proto_t;
252 const char* description;
256global_services_lookup(uint16_t value, ws_services_proto_t proto);
259void global_services_dump(FILE* fp);
262void global_enterprises_dump(FILE* fp);
277 int source, destination, forwardable, global, reserved;
282ws_iana_ipv4_special_block_lookup(uint32_t ipnum);
286ws_iana_ipv6_special_block_lookup(
const ws_in6_addr* addr);
Extended metadata for a value_string array.
Definition value_string.h:325
Mapping between a 32-bit integer value and its string representation.
Definition value_string.h:33
Represents a 128-bit IPv6 address.
Definition inet_addr.h:27
Definition inet_cidr.h:22
Definition inet_cidr.h:27
Definition iana-info.h:269
Definition iana-info.h:249