aboutsummaryrefslogtreecommitdiffstats
path: root/epan/iana_snap_pid.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-05 22:35:19 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-05 22:35:19 +0000
commit9c8c789f553e5e7bd6d067cb57a1651113599241 (patch)
tree624286e669463f313ad8ee0d1462a6595c5465e5 /epan/iana_snap_pid.h
parent053982156484dc93a4f60f9196408f1d26e3258c (diff)
Add support for the IANA's OUI, and recognize NHRP-over-SNAP.
An NHRP extension offset of 0 is not an error - it means there are no extensions. Start using the address family number to determine the type of link-layer addresses in NHRP. Don't fetch IPv4 addresses and add them to the tree - just use proto_tree_add_item(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28286 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/iana_snap_pid.h')
-rw-r--r--epan/iana_snap_pid.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/epan/iana_snap_pid.h b/epan/iana_snap_pid.h
new file mode 100644
index 0000000000..f3f2993bb7
--- /dev/null
+++ b/epan/iana_snap_pid.h
@@ -0,0 +1,33 @@
+/* iana-snap-pid.h
+ * SNAP PIDs for the IANA's OUI 00:00:5e
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.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.
+ */
+
+#define IANA_PID_MARS_DATA_SHORT 0x0001 /* RFC 2022 */
+#define IANA_PID_NHRP_RESERVED 0x0002 /* RFC 2332 */
+#define IANA_PID_MARS_NHRP_CONTROL 0x0003 /* RFC 2022, RFC 2332 */
+#define IANA_PID_MARS_DATA_LONG 0x0004 /* RFC 2022 */
+#define IANA_PID_SCSP 0x0005 /* RFC 2334 */
+#define IANA_PID_VRID 0x0006
+#define IANA_PID_L2TP 0x0007 /* RFC 3070 */
+#define IANA_PID_VPN_ID 0x0008 /* RFC 2684 */
+#define IANA_PID_MSDP_GRE_PROTO_TYPE 0x0009