aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-juniper.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-11-08 21:08:52 -0500
committerEvan Huus <eapache@gmail.com>2014-11-09 13:56:37 +0000
commitf7ac077630689d917e61aa7972f708fd45ce267b (patch)
tree530eece6fe465428ab8f9c7cbc25f9db356242ff /epan/dissectors/packet-juniper.h
parent8153cbc56e0206f48c910c79b739e435a38e2b47 (diff)
Create a subdissector table for juniper payload protocols.
Change-Id: I60fd9c6c486b9b3b90e32fb9ccce3973569cc2ee Reviewed-on: https://code.wireshark.org/review/5204 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-juniper.h')
-rw-r--r--epan/dissectors/packet-juniper.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/epan/dissectors/packet-juniper.h b/epan/dissectors/packet-juniper.h
new file mode 100644
index 0000000000..bd9172ca2d
--- /dev/null
+++ b/epan/dissectors/packet-juniper.h
@@ -0,0 +1,64 @@
+/* packet-juniper.h
+ * Routines for Juniper Networks, Inc. packet disassembly
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef _PACKET_JUNIPER_H
+#define _PACKET_JUNIPER_H
+
+/* values < 200 are JUNOS internal proto values
+ * found in frames containing no link-layer header */
+enum {
+ JUNIPER_PROTO_UNKNOWN = 0,
+ JUNIPER_PROTO_IP = 2,
+ JUNIPER_PROTO_MPLS_IP = 3,
+ JUNIPER_PROTO_IP_MPLS = 4,
+ JUNIPER_PROTO_MPLS = 5,
+ JUNIPER_PROTO_IP6 = 6,
+ JUNIPER_PROTO_MPLS_IP6 = 7,
+ JUNIPER_PROTO_IP6_MPLS = 8,
+ JUNIPER_PROTO_CLNP = 10,
+ JUNIPER_PROTO_CLNP_MPLS = 32,
+ JUNIPER_PROTO_MPLS_CLNP = 33,
+ JUNIPER_PROTO_PPP = 200,
+ JUNIPER_PROTO_ISO = 201,
+ JUNIPER_PROTO_LLC = 202,
+ JUNIPER_PROTO_LLC_SNAP = 203,
+ JUNIPER_PROTO_ETHER = 204,
+ JUNIPER_PROTO_OAM = 205,
+ JUNIPER_PROTO_Q933 = 206,
+ JUNIPER_PROTO_FRELAY = 207,
+ JUNIPER_PROTO_CHDLC = 208
+};
+
+#endif /* _PACKET_JUNIPER_H */
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */