Try to improve the "Kerberos requested but not OpenSSL" message.
[jelmer/wireshark.git] / epan / aftypes.h
1 /* aftypes.h
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.
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  *
8  * This file created and by Mike Hall <mlh@io.com>
9  * Copyright 1998
10  *
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.
15  *
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.
20  *
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.
24  */
25
26 #ifndef __AFTYPES_H__
27 #define __AFTYPES_H__
28
29 #include <epan/value_string.h>
30
31 #ifdef __cplusplus
32 extern "C" {
33 #endif /* __cplusplus */
34
35 /* BSD AF_ values. */
36 #define BSD_AF_INET             2
37 #define BSD_AF_ISO              7
38 #define BSD_AF_APPLETALK        16
39 #define BSD_AF_IPX              23
40 #define BSD_AF_INET6_BSD        24      /* OpenBSD (and probably NetBSD), BSD/OS */
41 #define BSD_AF_INET6_FREEBSD    28
42 #define BSD_AF_INET6_DARWIN     30
43
44 /* Linux AF_ values. */
45 #define LINUX_AF_UNSPEC          0
46 #define LINUX_AF_LOCAL           1
47 #define LINUX_AF_INET            2
48 #define LINUX_AF_AX25            3
49 #define LINUX_AF_IPX             4
50 #define LINUX_AF_APPLETALK       5
51 #define LINUX_AF_NETROM          6
52 #define LINUX_AF_BRIDGE          7
53 #define LINUX_AF_ATMPVC          8
54 #define LINUX_AF_X25             9
55 #define LINUX_AF_INET6          10
56 #define LINUX_AF_ROSE           11
57 #define LINUX_AF_DECnet         12
58 #define LINUX_AF_NETBEUI        13
59 #define LINUX_AF_SECURITY       14
60 #define LINUX_AF_KEY            15
61 #define LINUX_AF_NETLINK        16
62 #define LINUX_AF_PACKET         17
63 #define LINUX_AF_ASH            18
64 #define LINUX_AF_ECONET         19
65 #define LINUX_AF_ATMSVC         20
66 #define LINUX_AF_RDS            21
67 #define LINUX_AF_SNA            22
68 #define LINUX_AF_IRDA           23
69 #define LINUX_AF_PPPOX          24
70 #define LINUX_AF_WANPIPE        25
71 #define LINUX_AF_LLC            26
72 #define LINUX_AF_CAN            29
73 #define LINUX_AF_TIPC           30
74 #define LINUX_AF_BLUETOOTH      31
75 #define LINUX_AF_IUCV           32
76 #define LINUX_AF_RXRPC          33
77 #define LINUX_AF_ISDN           34
78 #define LINUX_AF_PHONET         35
79 #define LINUX_AF_IEEE802154     36
80 #define LINUX_AF_CAIF           37
81 #define LINUX_AF_ALG            38
82 #define LINUX_AF_NFC            39
83
84 extern value_string_ext linux_af_vals_ext;
85
86 /* Solaris AF_ values. */
87 #define SOLARIS_AF_INET         2
88 #define SOLARIS_AF_INET6        26
89
90 /* Winsock AF_ values. */
91 #define WINSOCK_AF_INET         2
92 #define WINSOCK_AF_IPX          6
93 #define WINSOCK_AF_INET6        23
94
95 #ifdef __cplusplus
96 }
97 #endif /* __cplusplus */
98
99 #endif /* aftypes.h */