diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-11-17 06:02:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-11-17 06:02:21 +0000 |
commit | d50abaf3f4760996163539c90f4c982f2eaba4e6 (patch) | |
tree | e100d9c5b026a703e9a005330eed9e9cfe1595e0 /aftypes.h | |
parent | d9397635456a565fcd8f09f24e9ec26919ed6d5f (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.
svn path=/trunk/; revision=2653
Diffstat (limited to 'aftypes.h')
-rw-r--r-- | aftypes.h | 33 |
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 |