diff options
author | Robert Sauter <sauter@locoslab.com> | 2017-07-12 11:31:26 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-07-22 07:51:10 +0000 |
commit | 921723d07585b41c96b295e30a74df43626224af (patch) | |
tree | c7121bf9a5532094e15ea14ac99b2f2373d6e623 /epan/dissectors/packet-ieee802154.h | |
parent | 8dd29939ef79acd5fdfdf90c08d53c83706a24d3 (diff) |
IEEE 802.15.4: dissector tables for Information Elements
Rationale: The IEs are a generic mechanism that allows higher level protocols to
transport additional data in the header and some IDs have already been assigned
to external organisations. Using dissector tables enable looser coupling.
Refactor existing internal IE dissectors to be called via the table as well
based on a suggestion by Michael Mann.
More consistent display and code for Header IEs and Payload IEs.
Change-Id: Ib9c225245fc8dd989200d6ff6aeae8ca5c0f792c
Reviewed-on: https://code.wireshark.org/review/22600
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ieee802154.h')
-rw-r--r-- | epan/dissectors/packet-ieee802154.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ieee802154.h b/epan/dissectors/packet-ieee802154.h index a8eacc0645..e305051c42 100644 --- a/epan/dissectors/packet-ieee802154.h +++ b/epan/dissectors/packet-ieee802154.h @@ -31,6 +31,10 @@ /* PANID dissector list is for Decode-As and stateful dissection only. */ #define IEEE802154_PROTOABBREV_WPAN_PANID "wpan.panid" +/* Dissector tables for the Header IEs and Payload IEs */ +#define IEEE802154_HEADER_IE_DTABLE "wpan.header_ie" +#define IEEE802154_PAYLOAD_IE_DTABLE "wpan.payload_ie" + /* Packet Overhead from MAC header + footer (excluding addressing) */ #define IEEE802154_MAX_FRAME_LEN 127 #define IEEE802154_FCS_LEN 2 |