GSM SMS: follow-up of gd65b7d5
[metze/wireshark/wip.git] / epan / afn.h
1 /* afn.h
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 #ifndef __AFN_H__
24 #define __AFN_H__
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif /* __cplusplus */
29
30 /*
31  * Address family numbers, from
32  *
33  *      http://www.iana.org/assignments/address-family-numbers
34  */
35 #define AFNUM_RESERVED  0       /* Reserved */
36 #define AFNUM_INET      1       /* IP (IP version 4) */
37 #define AFNUM_INET6     2       /* IP6 (IP version 6) */
38 #define AFNUM_NSAP      3       /* NSAP */
39 #define AFNUM_HDLC      4       /* HDLC (8-bit multidrop) */
40 #define AFNUM_BBN1822   5       /* BBN 1822 */
41 #define AFNUM_802       6       /* 802 (includes all 802 media plus Ethernet "canonical format") */
42 #define AFNUM_E163      7       /* E.163 */
43 #define AFNUM_E164      8       /* E.164 (SMDS, Frame Relay, ATM) */
44 #define AFNUM_F69       9       /* F.69 (Telex) */
45 #define AFNUM_X121      10      /* X.121 (X.25, Frame Relay) */
46 #define AFNUM_IPX       11      /* IPX */
47 #define AFNUM_ATALK     12      /* Appletalk */
48 #define AFNUM_DECNET    13      /* Decnet IV */
49 #define AFNUM_BANYAN    14      /* Banyan Vines */
50 #define AFNUM_E164NSAP  15      /* E.164 with NSAP format subaddress */
51 #define AFNUM_DNS       16      /* DNS (Domain Name System) */
52 #define AFNUM_DISTNAME  17      /* Distinguished Name */
53 #define AFNUM_AS_NUMBER 18      /* AS Number */
54 #define AFNUM_XTP_IP4   19      /* XTP over IP version 4 */
55 #define AFNUM_XTP_IP6   20      /* XTP over IP version 6 */
56 #define AFNUM_XTP       21      /* XTP native mode XTP */
57 #define AFNUM_FC_WWPN   22      /* Fibre Channel World-Wide Port Name */
58 #define AFNUM_FC_WWNN   23      /* Fibre Channel World-Wide Node Name */
59 #define AFNUM_GWID      24      /* GWID */
60 /* draft-kompella-ppvpn-l2vpn */
61 #define AFNUM_L2VPN     25
62 #define AFNUM_L2VPN_OLD 196
63 #define AFNUM_EIGRP_COMMON      16384 /* EIGRP Common Service Family */
64 #define AFNUM_EIGRP_IPV4        16385 /* EIGRP IPv4 Service Family */
65 #define AFNUM_EIGRP_IPV6        16386 /* EIGRP IPv6 Service Family */
66 #define AFNUM_LCAF              16387 /* LISP Canonical Address Format */
67 #define AFNUM_LINK_STATE        16388 /* draft-ietf-idr-ls-distribution */
68 #define AFNUM_EUI48             16389 /* 48-bit MAC Address */
69 #define AFNUM_EUI64             16390 /* 64-bit MAC Address */
70
71 extern const value_string afn_vals[];
72
73 #ifdef __cplusplus
74 }
75 #endif /* __cplusplus */
76
77 #endif /* __AFN_H__ */