Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
afn.h
Go to the documentation of this file.
1
12#ifndef __AFN_H__
13#define __AFN_H__
14
15#include <wsutil/value_string.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif /* __cplusplus */
20
21/*
22 * Address family numbers, from
23 *
24 * http://www.iana.org/assignments/address-family-numbers
25 */
26#define AFNUM_RESERVED 0 /* Reserved */
27#define AFNUM_INET 1 /* IP (IP version 4) */
28#define AFNUM_INET6 2 /* IP6 (IP version 6) */
29#define AFNUM_NSAP 3 /* NSAP */
30#define AFNUM_HDLC 4 /* HDLC (8-bit multidrop) */
31#define AFNUM_BBN1822 5 /* BBN 1822 */
32#define AFNUM_802 6 /* 802 (includes all 802 media plus Ethernet "canonical format") */
33#define AFNUM_E163 7 /* E.163 */
34#define AFNUM_E164 8 /* E.164 (SMDS, Frame Relay, ATM) */
35#define AFNUM_F69 9 /* F.69 (Telex) */
36#define AFNUM_X121 10 /* X.121 (X.25, Frame Relay) */
37#define AFNUM_IPX 11 /* IPX */
38#define AFNUM_ATALK 12 /* Appletalk */
39#define AFNUM_DECNET 13 /* Decnet IV */
40#define AFNUM_BANYAN 14 /* Banyan Vines */
41#define AFNUM_E164NSAP 15 /* E.164 with NSAP format subaddress */
42#define AFNUM_DNS 16 /* DNS (Domain Name System) */
43#define AFNUM_DISTNAME 17 /* Distinguished Name */
44#define AFNUM_AS_NUMBER 18 /* AS Number */
45#define AFNUM_XTP_IP4 19 /* XTP over IP version 4 */
46#define AFNUM_XTP_IP6 20 /* XTP over IP version 6 */
47#define AFNUM_XTP 21 /* XTP native mode XTP */
48#define AFNUM_FC_WWPN 22 /* Fibre Channel World-Wide Port Name */
49#define AFNUM_FC_WWNN 23 /* Fibre Channel World-Wide Node Name */
50#define AFNUM_GWID 24 /* GWID */
51#define AFNUM_L2VPN 25 /* RFC4761 RFC6074 */
52#define AFNUM_L2VPN_OLD 196
53#define AFNUM_MPLS_TP_SEI 26 /* MPLS-TP Section Endpoint Identifier, RFC7212 */
54#define AFNUM_MPLS_TP_LSPEI 27 /* MPLS-TP LSP Endpoint Identifier, RFC7212 */
55#define AFNUM_MPLS_TP_PEI 28 /* MPLS-TP Pseudowire Endpoint Identifier, RFC7212 */
56#define AFNUM_MT_IP 29 /* MT IP: Multi-Topology IP version 4, RFC7307 */
57#define AFNUM_MT_IPV6 30 /* MT IPv6: Multi-Topology IP version 6, RFC7307 */
58#define AFNUM_EIGRP_COMMON 16384 /* EIGRP Common Service Family, Donnie Savage */
59#define AFNUM_EIGRP_IPV4 16385 /* EIGRP IPv4 Service Family, Donnie Savage */
60#define AFNUM_EIGRP_IPV6 16386 /* EIGRP IPv6 Service Family, Donnie Savage */
61#define AFNUM_LCAF 16387 /* LISP Canonical Address Format, David Meyer */
62#define AFNUM_BGP_LS 16388 /* BGP-LS, RFC7752 */
63#define AFNUM_EUI48 16389 /* 48-bit MAC, RFC7042 */
64#define AFNUM_EUI64 16390 /* 64-bit MAC, RFC7042 */
65#define AFNUM_OUI 16391 /* OUI, RFC7961 */
66#define AFNUM_MAC_24 16392 /* MAC/24, RFC7961 */
67#define AFNUM_MAC_40 16393 /* MAC/40, RFC7961 */
68#define AFNUM_IPv6_64 16394 /* IPv6/64, RFC7961 */
69#define AFNUM_RB_PID 16395 /* RBridge Port ID, RFC7961 */
70#define AFNUM_TRILL_NICKNAME 16396 /* TRILL Nickname, RFC7455 */
71extern const value_string afn_vals[];
72
73#ifdef __cplusplus
74}
75#endif /* __cplusplus */
76
77#endif /* __AFN_H__ */
78
79/*
80 * Editor modelines - https://www.wireshark.org/tools/modelines.html
81 *
82 * Local variables:
83 * c-basic-offset: 4
84 * tab-width: 8
85 * indent-tabs-mode: nil
86 * End:
87 *
88 * vi: set shiftwidth=4 tabstop=8 expandtab:
89 * :indentSize=4:tabSize=8:noTabs=true:
90 */
Mapping between a 32-bit integer value and its string representation.
Definition value_string.h:33