diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-01-13 00:41:11 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-01-13 00:41:11 +0000 |
commit | 94a392953bf8e9bba2fbb1d8a15b1d5c156f9260 (patch) | |
tree | cc1bb826c89caf2ba5598a80ed3d09b32a752f27 /nlpid.h | |
parent | 79c21f19b8b6187bae664947216b6a122343ca87 (diff) |
Export the list of OSI NLPIDs in "nlpid.h", for use by the CDP
dissector.
Add a "value_string" table for NLPIDs to the OSI dissector, and export
it for use by the CDP dissector.
Fix the CDP dissector as per the documentation in
http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm
and as per some traces we have with CDP data in them.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1455 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'nlpid.h')
-rw-r--r-- | nlpid.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nlpid.h b/nlpid.h new file mode 100644 index 0000000000..27f949b05b --- /dev/null +++ b/nlpid.h @@ -0,0 +1,38 @@ +/* nlpid.h + * Definitions of OSI NLPIDs (Network Layer Protocol IDs) + * Laurent Deniel <deniel@worldnet.fr> + * + * $Id: nlpid.h,v 1.1 2000/01/13 00:41:11 guy Exp $ + * + * Ethereal - Network traffic analyzer + * By Gerald Combs <gerald@zing.org> + * Copyright 1998 Gerald Combs + * + * + * 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. + */ + +/* Some of these come from RFC 1490. */ + +#define NLPID_NULL 0x00 +#define NLPID_SNAP 0x80 +#define NLPID_ISO8473_CLNP 0x81 +#define NLPID_ISO9542_ESIS 0x82 +#define NLPID_ISO10589_ISIS 0x83 +#define NLPID_ISO9542X25_ESIS 0x8a +#define NLPID_IP 0xcc + +extern const value_string nlpid_vals[]; + |