From d50abaf3f4760996163539c90f4c982f2eaba4e6 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 17 Nov 2000 06:02:21 +0000 Subject: 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. svn path=/trunk/; revision=2653 --- aftypes.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 aftypes.h (limited to 'aftypes.h') 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 + * + * This file created and by Mike Hall + * 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 -- cgit v1.2.3