Correct 6LoWPAN NHC datagram size calculations
[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_EIGRP_COMMON, "EIGRP Common Service Family" },
57     { AFNUM_EIGRP_IPV4,   "EIGRP IPv4 Service Family" },
58     { AFNUM_EIGRP_IPV6,   "EIGRP IPv6 Service Family" },
59     { AFNUM_LCAF,         "LISP Canonical Address Format (LCAF)" },
60     { AFNUM_LINK_STATE,   "Link State and TE information" },
61     { AFNUM_EUI48,        "48-bit MAC Address" },
62     { AFNUM_EUI64,        "64-bit MAC Address" },
63     { 65535,              "Reserved" },
64     { 0, NULL },
65 };
66
67 /*
68  * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
69  *
70  * Local variables:
71  * c-basic-offset: 4
72  * tab-width: 8
73  * indent-tabs-mode: nil
74  * End:
75  *
76  * vi: set shiftwidth=4 tabstop=8 expandtab:
77  * :indentSize=4:tabSize=8:noTabs=true:
78  */