summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-btbredr_rf.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-btbredr_rf.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-btbredr_rf.h')
-rw-r--r--epan/dissectors/packet-btbredr_rf.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/epan/dissectors/packet-btbredr_rf.h b/epan/dissectors/packet-btbredr_rf.h
new file mode 100644
index 00000000..81495d48
--- /dev/null
+++ b/epan/dissectors/packet-btbredr_rf.h
@@ -0,0 +1,33 @@
+/* packet-btbredr_rf.h
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+typedef struct _reassembly_t {
+ guint segment_len_rem;
+ guint32 l2cap_index;
+ guint seqn : 1;
+} reassembly_t;
+
+typedef struct _connection_info_t {
+ reassembly_t reassembly[2];
+ nstime_t timestamp;
+ guint32 btclock;
+ guint32 interface_id;
+ guint32 adapter_id;
+ guint16 escosize[2];
+ guint8 bd_addr[2][6];
+ guint8 lt_addr;
+ guint8 escohandle;
+ guint8 esco : 1;
+} connection_info_t;
+
+connection_info_t *
+btbredr_rf_add_esco_link(connection_info_t *cinfo, packet_info *pinfo, guint8 handle, guint32 ltaddr, guint16 pktszms, guint16 pktszsm);
+
+void
+btbredr_rf_remove_esco_link(connection_info_t *cinfo, packet_info *pinfo, guint8 handle);