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