aboutsummaryrefslogtreecommitdiffstats
path: root/aftypes.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-11-17 06:02:21 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-11-17 06:02:21 +0000
commita4e0ded59a8b7fce18ca2bb5afa067c202ca5bd6 (patch)
treee100d9c5b026a703e9a005330eed9e9cfe1595e0 /aftypes.h
parent633189a0629d889f6cccbb2be820ac3d40c885db (diff)
Give the "null" link-layer header dissector a dissector table, and put
the BSD AF_ type values it uses into an "aftypes.h" header file for dissectors that register themselves in that dissector table include. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2653 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'aftypes.h')
-rw-r--r--aftypes.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/aftypes.h b/aftypes.h
new file mode 100644
index 0000000000..2ae1d92187
--- /dev/null
+++ b/aftypes.h
@@ -0,0 +1,33 @@
+/* aftypes.h
+ * AF_ values on various flavors of BSD
+ *
+ * $Id: aftypes.h,v 1.1 2000/11/17 06:02:20 guy Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ *
+ * This file created and by Mike Hall <mlh@io.com>
+ * Copyright 1998
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+/* BSD AF_ values. */
+#define BSD_AF_INET 2
+#define BSD_AF_ISO 7
+#define BSD_AF_APPLETALK 16
+#define BSD_AF_IPX 23
+#define BSD_AF_INET6_BSD 24 /* OpenBSD (and probably NetBSD), BSD/OS */
+#define BSD_AF_INET6_FREEBSD 28