summaryrefslogtreecommitdiffstats
path: root/epan/aftypes.c
blob: 3f80ff3acfd1f9ae977b39407fc0e8e6339acbe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/* aftypes.c
 * AF_ values on various OSes; they're used in some network protocols, as
 * well as in BSD DLT_NULL and DLT_LOOP headers.
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 *
 * This file created and by Mike Hall <mlh@io.com>
 * Copyright 1998
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#include "config.h"

#include <epan/value_string.h>
#include <epan/aftypes.h>

static const value_string linux_af_vals[] = {
	{ LINUX_AF_UNSPEC,	"AF_UNSPEC" },
	{ LINUX_AF_LOCAL,	"AF_LOCAL" }, /* AF_UNIX? */
	{ LINUX_AF_INET,	"AF_INET" },
	{ LINUX_AF_AX25,	"AF_AX25" },
	{ LINUX_AF_IPX,		"AF_IPX" },
	{ LINUX_AF_APPLETALK,	"AF_APPLETALK" },
	{ LINUX_AF_NETROM,	"AF_NETROM" },
	{ LINUX_AF_BRIDGE,	"AF_BRIDGE" },
	{ LINUX_AF_ATMPVC,	"AF_ATMPVC" },
	{ LINUX_AF_X25,		"AF_X25" },
	{ LINUX_AF_INET6,	"AF_INET6" },
	{ LINUX_AF_ROSE,	"AF_ROSE" },
	{ LINUX_AF_DECnet,	"AF_DECnet" },
	{ LINUX_AF_NETBEUI,	"AF_NETBEUI" },
	{ LINUX_AF_SECURITY,	"AF_SECURITY" },
	{ LINUX_AF_KEY,		"AF_KEY" },
	{ LINUX_AF_NETLINK,	"AF_NETLINK" },
	{ LINUX_AF_PACKET,	"AF_PACKET" },
	{ LINUX_AF_ASH,		"AF_ASH" },
	{ LINUX_AF_ECONET,	"AF_ECONET" },
	{ LINUX_AF_ATMSVC,	"AF_ATMSVC" },
	{ LINUX_AF_RDS,		"AF_RDS" },
	{ LINUX_AF_SNA,		"AF_SNA" },
	{ LINUX_AF_IRDA,	"AF_IRDA" },
	{ LINUX_AF_PPPOX,	"AF_PPPOX" },
	{ LINUX_AF_WANPIPE,	"AF_WANPIPE" },
	{ LINUX_AF_LLC,		"AF_LLC" },
	{ LINUX_AF_CAN,		"AF_CAN" },
	{ LINUX_AF_TIPC,	"AF_TIPC" },
	{ LINUX_AF_BLUETOOTH,	"AF_BLUETOOTH" },
	{ LINUX_AF_IUCV,	"AF_IUCV" },
	{ LINUX_AF_RXRPC,	"AF_RXRPC" },
	{ LINUX_AF_ISDN,	"AF_ISDN" },
	{ LINUX_AF_PHONET,	"AF_PHONET" },
	{ LINUX_AF_IEEE802154,	"AF_IEEE802154" },
	{ LINUX_AF_CAIF,	"AF_CAIF" },
	{ LINUX_AF_ALG,		"AF_ALG" },
	{ LINUX_AF_NFC,		"AF_NFC" },
	{ 0, NULL }
};

value_string_ext linux_af_vals_ext = VALUE_STRING_EXT_INIT(linux_af_vals);

/*
 * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
 *
 * Local variables:
 * c-basic-offset: 8
 * tab-width: 8
 * indent-tabs-mode: t
 * End:
 *
 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
 * :indentSize=8:tabSize=8:noTabs=false:
 */