diff options
author | Michael Mann <mmann78@netscape.net> | 2013-10-26 02:36:56 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-10-26 02:36:56 +0000 |
commit | 2ebf40a1c22990d6c2d9ce5f6d6dcd0b39e262e6 (patch) | |
tree | 4550923ff9607d00e3fdd7f83fd6ac977c74cf66 /epan/dissectors/packet-btsdp.h | |
parent | 3cc6957fa87021d1427a8c31fdfccaeb90188ebe (diff) |
Bluetooth: SDP: Decode all types of UUIDs. Bug 9327 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9327).
From Michal Labedzki
svn path=/trunk/; revision=52864
Diffstat (limited to 'epan/dissectors/packet-btsdp.h')
-rw-r--r-- | epan/dissectors/packet-btsdp.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btsdp.h b/epan/dissectors/packet-btsdp.h index e1d91a9ccd..4b0c39d661 100644 --- a/epan/dissectors/packet-btsdp.h +++ b/epan/dissectors/packet-btsdp.h @@ -159,6 +159,12 @@ #define BTSDP_LOCAL_SERVICE_FLAG_MASK 0x0001 #define BTSDP_SECONDARY_CHANNEL_FLAG_MASK 0x0002 +typedef struct _uuid_t { + guint16 bt_uuid; + guint8 size; + guint8 data[16]; +} uuid_t; + /* This structure is passed to other dissectors through the tap interface * and contains information about the relation between service, PSM/server * channel, local/remote service. The btrfcomm and btl2cap dissectors @@ -188,7 +194,7 @@ typedef struct _service_info_t { guint32 type; guint32 channel; - guint32 uuid; + uuid_t uuid; gint protocol_order; /* main service protocol has 0, goep -1, additional protocol 1, 2... */ void *data; /* Used to transfer service record data to profiles */ |