summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-6lowpan.h
diff options
context:
space:
mode:
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__ */