summaryrefslogtreecommitdiffstats
path: root/epan/nlpid.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/nlpid.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/nlpid.h')
-rw-r--r--epan/nlpid.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/epan/nlpid.h b/epan/nlpid.h
new file mode 100644
index 0000000..93b3f2c
--- /dev/null
+++ b/epan/nlpid.h
@@ -0,0 +1,53 @@
+/** @file
+ *
+ * Definitions of OSI NLPIDs (Network Layer Protocol IDs)
+ * Laurent Deniel <laurent.deniel@free.fr>
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef __NLPID_H__
+#define __NLPID_H__
+
+#include <epan/value_string.h>
+
+/* X.263 / ISO/IEC TR 9577 NLPID values. */
+
+#define NLPID_NULL 0x00
+#define NLPID_IPI_T_70 0x01 /* T.70, when an IPI */
+#define NLPID_SPI_X_29 0x01 /* X.29, when an SPI */
+#define NLPID_X_633 0x03 /* X.633 */
+#define NLPID_DMS 0x03 /* Maintenace messages: AT&T TR41459, Nortel NIS A211-1, Telcordia SR-4994, ... */
+#define NLPID_Q_931 0x08 /* Q.931, Q.932, X.36, ISO 11572, ISO 11582 */
+#define NLPID_Q_933 0x08 /* Q.933, on Frame Relay */
+#define NLPID_Q_2931 0x09 /* Q.2931 */
+#define NLPID_Q_2119 0x0c /* Q.2119 */
+#define NLPID_SNAP 0x80
+#define NLPID_ISO8473_CLNP 0x81 /* X.233 */
+#define NLPID_ISO9542_ESIS 0x82
+#define NLPID_ISO10589_ISIS 0x83
+#define NLPID_ISO10747_IDRP 0x85
+#define NLPID_ISO9542X25_ESIS 0x8a
+#define NLPID_ISO10030 0x8c
+#define NLPID_ISO11577 0x8d /* X.273 */
+#define NLPID_IP6 0x8e
+#define NLPID_AVAYA_IPVPN 0x8f /* Avaya/Extreme Fabric (SPBM) IPVPN */
+#define NLPID_COMPRESSED 0xb0 /* "Data compression protocol" */
+#define NLPID_TRILL 0xc0
+#define NLPID_SNDCF 0xc1 /* "SubNetwork Dependent Convergence Function */
+#define NLPID_IEEE_8021AQ 0xc1 /* IEEE 802.1aq (draft-ietf-isis-ieee-aq-05.txt); defined in context of ISIS "supported protocols" TLV */
+#define NLPID_IP 0xcc
+#define NLPID_PPP 0xcf
+
+extern const value_string nlpid_vals[];
+
+/*
+ * 0x09 is, in Frame Relay, LMI, Q.2931.
+ */
+#define NLPID_LMI 0x09 /* LMI */
+
+#endif