2 * AF_ values on various OSes; they're used in some network protocols, as
3 * well as in BSD DLT_NULL and DLT_LOOP headers.
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
8 * This file created and by Mike Hall <mlh@io.com>
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
28 #include <epan/value_string.h>
29 #include <epan/aftypes.h>
31 static const value_string linux_af_vals[] = {
32 { LINUX_AF_UNSPEC, "AF_UNSPEC" },
33 { LINUX_AF_LOCAL, "AF_LOCAL" }, /* AF_UNIX? */
34 { LINUX_AF_INET, "AF_INET" },
35 { LINUX_AF_AX25, "AF_AX25" },
36 { LINUX_AF_IPX, "AF_IPX" },
37 { LINUX_AF_APPLETALK, "AF_APPLETALK" },
38 { LINUX_AF_NETROM, "AF_NETROM" },
39 { LINUX_AF_BRIDGE, "AF_BRIDGE" },
40 { LINUX_AF_ATMPVC, "AF_ATMPVC" },
41 { LINUX_AF_X25, "AF_X25" },
42 { LINUX_AF_INET6, "AF_INET6" },
43 { LINUX_AF_ROSE, "AF_ROSE" },
44 { LINUX_AF_DECnet, "AF_DECnet" },
45 { LINUX_AF_NETBEUI, "AF_NETBEUI" },
46 { LINUX_AF_SECURITY, "AF_SECURITY" },
47 { LINUX_AF_KEY, "AF_KEY" },
48 { LINUX_AF_NETLINK, "AF_NETLINK" },
49 { LINUX_AF_PACKET, "AF_PACKET" },
50 { LINUX_AF_ASH, "AF_ASH" },
51 { LINUX_AF_ECONET, "AF_ECONET" },
52 { LINUX_AF_ATMSVC, "AF_ATMSVC" },
53 { LINUX_AF_RDS, "AF_RDS" },
54 { LINUX_AF_SNA, "AF_SNA" },
55 { LINUX_AF_IRDA, "AF_IRDA" },
56 { LINUX_AF_PPPOX, "AF_PPPOX" },
57 { LINUX_AF_WANPIPE, "AF_WANPIPE" },
58 { LINUX_AF_LLC, "AF_LLC" },
59 { LINUX_AF_CAN, "AF_CAN" },
60 { LINUX_AF_TIPC, "AF_TIPC" },
61 { LINUX_AF_BLUETOOTH, "AF_BLUETOOTH" },
62 { LINUX_AF_IUCV, "AF_IUCV" },
63 { LINUX_AF_RXRPC, "AF_RXRPC" },
64 { LINUX_AF_ISDN, "AF_ISDN" },
65 { LINUX_AF_PHONET, "AF_PHONET" },
66 { LINUX_AF_IEEE802154, "AF_IEEE802154" },
67 { LINUX_AF_CAIF, "AF_CAIF" },
68 { LINUX_AF_ALG, "AF_ALG" },
69 { LINUX_AF_NFC, "AF_NFC" },
73 value_string_ext linux_af_vals_ext = VALUE_STRING_EXT_INIT(linux_af_vals);