Snort: speed up parsing of options by avoiding g_snprintf()
[metze/wireshark/wip.git] / epan / afn.c
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  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21  */
22
23 #include "config.h"
24
25 #include <epan/value_string.h>
26 #include <epan/afn.h>
27
28 const value_string afn_vals[] = {
29     { AFNUM_RESERVED,       "Reserved" },
30     { AFNUM_INET,           "IPv4" },
31     { AFNUM_INET6,          "IPv6" },
32     { AFNUM_NSAP,           "NSAP" },
33     { AFNUM_HDLC,           "HDLC (8-bit multidrop)" },
34     { AFNUM_BBN1822,        "BBN 1822" },
35     { AFNUM_802,            "802 (includes all 802 media plus Ethernet)" },
36     { AFNUM_E163,           "E.163" },
37     { AFNUM_E164,           "E.164 (SMDS, Frame Relay, ATM)" },
38     { AFNUM_F69,            "F.69 (Telex)" },
39     { AFNUM_X121,           "X.121 (X.25, Frame Relay)" },
40     { AFNUM_IPX,            "IPX" },
41     { AFNUM_ATALK,          "Appletalk" },
42     { AFNUM_DECNET,         "Decnet IV" },
43     { AFNUM_BANYAN,         "Banyan Vines" },
44     { AFNUM_E164NSAP,       "E.164 with NSAP subaddress" },
45     { AFNUM_DNS,            "DNS (Domain Name System)" },
46     { AFNUM_DISTNAME,       "Distinguished Name" },
47     { AFNUM_AS_NUMBER,      "AS Number" },
48     { AFNUM_XTP_IP4,        "XTP over IP version 4" },
49     { AFNUM_XTP_IP6,        "XTP over IP version 6" },
50     { AFNUM_XTP,            "XTP native mode XTP" },
51     { AFNUM_FC_WWPN,        "Fibre Channel World-Wide Port Name" },
52     { AFNUM_FC_WWNN,        "Fibre Channel World-Wide Node Name" },
53     { AFNUM_GWID,           "GWID" },
54     { AFNUM_L2VPN,          "Layer-2 VPN" },
55     { AFNUM_L2VPN_OLD,      "Layer-2 VPN (old)" },
56     { AFNUM_MPLS_TP_SEI,    "MPLS-TP Section Endpoint Identifier"},
57     { AFNUM_MPLS_TP_LSPEI,  "MPLS-TP LSP Endpoint Identifier"},
58     { AFNUM_MPLS_TP_PEI,    "MPLS-TP Pseudowire Endpoint Identifier"},
59     { AFNUM_MT_IP,          "MT IP: Multi-Topology IP version 4"},
60     { AFNUM_MT_IPV6,        "MT IPv6: Multi-Topology IP version 6"},
61     { AFNUM_EIGRP_COMMON,   "EIGRP Common Service Family" },
62     { AFNUM_EIGRP_IPV4,     "EIGRP IPv4 Service Family" },
63     { AFNUM_EIGRP_IPV6,     "EIGRP IPv6 Service Family" },
64     { AFNUM_LCAF,           "LISP Canonical Address Format (LCAF)" },
65     { AFNUM_BGP_LS,         "BGP-LS" },
66     { AFNUM_EUI48,          "48-bit MAC Address" },
67     { AFNUM_EUI64,          "64-bit MAC Address" },
68     { AFNUM_OUI,            "OUI"},
69     { AFNUM_MAC_24,         "MAC/24"},
70     { AFNUM_MAC_40,         "MAC/40"},
71     { AFNUM_IPv6_64,        "IPv6/64"},
72     { AFNUM_RB_PID,         "RBridge Port ID"},
73     { AFNUM_TRILL_NICKNAME, "TRILL Nickname"},
74     { 65535,                "Reserved" },
75     { 0, NULL },
76 };
77
78 /*
79  * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
80  *
81  * Local variables:
82  * c-basic-offset: 4
83  * tab-width: 8
84  * indent-tabs-mode: nil
85  * End:
86  *
87  * vi: set shiftwidth=4 tabstop=8 expandtab:
88  * :indentSize=4:tabSize=8:noTabs=true:
89  */