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