summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nsh.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/packet-nsh.h
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-nsh.h')
-rw-r--r--epan/dissectors/packet-nsh.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/epan/dissectors/packet-nsh.h b/epan/dissectors/packet-nsh.h
new file mode 100644
index 00000000..1cbb638e
--- /dev/null
+++ b/epan/dissectors/packet-nsh.h
@@ -0,0 +1,27 @@
+/* packet-nsh.h
+ *
+ * Routines for Network Service Header
+ * draft-ietf-sfc-nsh-01
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef __PACKET_NSH_H__
+#define __PACKET_NSH_H__
+
+/*Network Service Header (NSH) Next Protocol field values */
+
+#define NSH_NONE 0
+#define NSH_IPV4 1
+#define NSH_IPV6 2
+#define NSH_ETHERNET 3
+#define NSH_NSH 4
+#define NSH_MPLS 5
+#define NSH_EXPERIMENT_1 254
+#define NSH_EXPERIMENT_2 255
+
+#endif /* __PACKET_NSH_H__ */