diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2014-12-12 11:24:44 +0100 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@tieto.com> | 2014-12-18 11:03:05 +0000 |
commit | f5cd21543d332f6c14da88ebd50730750f791dd4 (patch) | |
tree | b10694bfabdbdb3d20bb0c011fe9c489676d59e6 /epan/dissectors/packet-btle.h | |
parent | 4a467ff609f1b5ee99cbc1aaccdc7b78d3cbecbc (diff) |
Bluetooth: Add generic Bluetooth dissector
Bluetooth dissector is used to add ability to filter all bluetooth
payload from capture files (there are many transport like:
hci_h4, hci_h1, hci_usb, hci_mon, btle). Also it is used to placeholder for
all data tree used to store additional informations like bd_addrs, names, etc.
Finally it is used to be one point for Bluetooth
Endpoints/Conversation filtering what is enabled now.
Also add Master/Slave Role and Connection Mode tracking.
Change-Id: I67048080fb8ee16fa0f4ec429c1257de81ddd737
Reviewed-on: https://code.wireshark.org/review/5771
Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/packet-btle.h')
-rw-r--r-- | epan/dissectors/packet-btle.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-btle.h b/epan/dissectors/packet-btle.h index 2f113b6a04..d507ab3d79 100644 --- a/epan/dissectors/packet-btle.h +++ b/epan/dissectors/packet-btle.h @@ -24,6 +24,8 @@ #ifndef __PACKET_BTLE_H__ #define __PACKET_BTLE_H__ +#include "packet-bluetooth.h" + /* * These structures are meant to support the provision of contextual * metadata to the BTLE dissector. @@ -58,6 +60,11 @@ typedef struct { gint crc_valid_at_capture: 1; gint mic_checked_at_capture: 1; gint mic_valid_at_capture: 1; + + union { + void *data; + bluetooth_data_t *bluetooth_data; + } previous_protocol_data; } btle_context_t; #endif /* __PACKET_BTLE_H__ */ |