1 /* afn.c
2  * RFC 1700 address family numbers
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #include "config.h"
12 
13 #include <epan/value_string.h>
14 #include <epan/afn.h>
15 
16 const value_string afn_vals[] = {
17     { AFNUM_RESERVED,       "Reserved" },
18     { AFNUM_INET,           "IPv4" },
19     { AFNUM_INET6,          "IPv6" },
20     { AFNUM_NSAP,           "NSAP" },
21     { AFNUM_HDLC,           "HDLC (8-bit multidrop)" },
22     { AFNUM_BBN1822,        "BBN 1822" },
23     { AFNUM_802,            "802 (includes all 802 media plus Ethernet)" },
24     { AFNUM_E163,           "E.163" },
25     { AFNUM_E164,           "E.164 (SMDS, Frame Relay, ATM)" },
26     { AFNUM_F69,            "F.69 (Telex)" },
27     { AFNUM_X121,           "X.121 (X.25, Frame Relay)" },
28     { AFNUM_IPX,            "IPX" },
29     { AFNUM_ATALK,          "Appletalk" },
30     { AFNUM_DECNET,         "Decnet IV" },
31     { AFNUM_BANYAN,         "Banyan Vines" },
32     { AFNUM_E164NSAP,       "E.164 with NSAP subaddress" },
33     { AFNUM_DNS,            "DNS (Domain Name System)" },
34     { AFNUM_DISTNAME,       "Distinguished Name" },
35     { AFNUM_AS_NUMBER,      "AS Number" },
36     { AFNUM_XTP_IP4,        "XTP over IP version 4" },
37     { AFNUM_XTP_IP6,        "XTP over IP version 6" },
38     { AFNUM_XTP,            "XTP native mode XTP" },
39     { AFNUM_FC_WWPN,        "Fibre Channel World-Wide Port Name" },
40     { AFNUM_FC_WWNN,        "Fibre Channel World-Wide Node Name" },
41     { AFNUM_GWID,           "GWID" },
42     { AFNUM_L2VPN,          "Layer-2 VPN" },
43     { AFNUM_L2VPN_OLD,      "Layer-2 VPN (old)" },
44     { AFNUM_MPLS_TP_SEI,    "MPLS-TP Section Endpoint Identifier"},
45     { AFNUM_MPLS_TP_LSPEI,  "MPLS-TP LSP Endpoint Identifier"},
46     { AFNUM_MPLS_TP_PEI,    "MPLS-TP Pseudowire Endpoint Identifier"},
47     { AFNUM_MT_IP,          "MT IP: Multi-Topology IP version 4"},
48     { AFNUM_MT_IPV6,        "MT IPv6: Multi-Topology IP version 6"},
49     { AFNUM_EIGRP_COMMON,   "EIGRP Common Service Family" },
50     { AFNUM_EIGRP_IPV4,     "EIGRP IPv4 Service Family" },
51     { AFNUM_EIGRP_IPV6,     "EIGRP IPv6 Service Family" },
52     { AFNUM_LCAF,           "LISP Canonical Address Format (LCAF)" },
53     { AFNUM_BGP_LS,         "BGP-LS" },
54     { AFNUM_EUI48,          "48-bit MAC Address" },
55     { AFNUM_EUI64,          "64-bit MAC Address" },
56     { AFNUM_OUI,            "OUI"},
57     { AFNUM_MAC_24,         "MAC/24"},
58     { AFNUM_MAC_40,         "MAC/40"},
59     { AFNUM_IPv6_64,        "IPv6/64"},
60     { AFNUM_RB_PID,         "RBridge Port ID"},
61     { AFNUM_TRILL_NICKNAME, "TRILL Nickname"},
62     { 65535,                "Reserved" },
63     { 0, NULL },
64 };
65 
66 /*
67  * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
68  *
69  * Local variables:
70  * c-basic-offset: 4
71  * tab-width: 8
72  * indent-tabs-mode: nil
73  * End:
74  *
75  * vi: set shiftwidth=4 tabstop=8 expandtab:
76  * :indentSize=4:tabSize=8:noTabs=true:
77  */
78