HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / epan / aftypes.h
blob94e897fc8b13abd2e1a84a4990e50d4ead144e5c
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.
5 * $Id$
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
10 * This file created and by Mike Hall <mlh@io.com>
11 * Copyright 1998
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.
28 #ifndef __AFTYPES_H__
29 #define __AFTYPES_H__
31 #ifdef __cplusplus
32 extern "C" {
33 #endif /* __cplusplus */
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
44 /* Linux AF_ values. */
45 #define LINUX_AF_INET 2
46 #define LINUX_AF_INET6 10
48 /* Solaris AF_ values. */
49 #define SOLARIS_AF_INET 2
50 #define SOLARIS_AF_INET6 26
52 /* Winsock AF_ values. */
53 #define WINSOCK_AF_INET 2
54 #define WINSOCK_AF_IPX 6
55 #define WINSOCK_AF_INET6 23
57 #ifdef __cplusplus
59 #endif /* __cplusplus */
61 #endif /* aftypes.h */