summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-6lowpan.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-6lowpan.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-6lowpan.h')
-rw-r--r--epan/dissectors/packet-6lowpan.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/epan/dissectors/packet-6lowpan.h b/epan/dissectors/packet-6lowpan.h
new file mode 100644
index 00000000..72ab11ae
--- /dev/null
+++ b/epan/dissectors/packet-6lowpan.h
@@ -0,0 +1,17 @@
+/* packet-6lowpan.h
+ * Routines for 6LoWPAN packet disassembly
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef __PACKET_6LOWPAN_H__
+#define __PACKET_6LOWPAN_H__
+
+/* Inserts new compression context information into the 6LoWPAN context table.
+ * The compression context is distributed via some options added to the neighbor
+ * discovery protocol, so the ICMPv6 dissector needs to call this routine.
+ */
+extern void lowpan_context_insert(guint8 cid, guint16 pan, guint8 plen,
+ ws_in6_addr *prefix, guint frame);
+
+#endif /* __PACKET_6LOWPAN_H__ */