aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-btl2cap.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-btl2cap.h')
-rw-r--r--epan/dissectors/packet-btl2cap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/packet-btl2cap.h b/epan/dissectors/packet-btl2cap.h
index 01464e5864..9074f42c8b 100644
--- a/epan/dissectors/packet-btl2cap.h
+++ b/epan/dissectors/packet-btl2cap.h
@@ -28,4 +28,13 @@
#define BTL2CAP_PSM_RFCOMM 0x0003
#define BTL2CAP_PSM_BNEP 0x000f
+/* This structure is passed to higher layer protocols through
+ * pinfo->private_data so that they can track "conversations" based on
+ * chandle, cid and direction
+ */
+typedef struct _btl2cap_data_t {
+ guint16 chandle; /* only low 12 bits used */
+ guint16 cid;
+} btl2cap_data_t;
+
#endif