diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2011-02-02 23:21:16 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2011-02-02 23:21:16 +0000 |
commit | 82cbbca3e50e41468de1ecbef43d02d51562bf4e (patch) | |
tree | ada8cfe8dd6609349add52a63e8ee233964316d4 /epan/dissectors/packet-mac-lte.h | |
parent | 77333de27890a968c52a93d47547b70eff8a3540 (diff) |
Add and use accessors to get/set per-packet data for LTE MAC.
This will allow plugins to use the dissector.
svn path=/trunk/; revision=35774
Diffstat (limited to 'epan/dissectors/packet-mac-lte.h')
-rw-r--r-- | epan/dissectors/packet-mac-lte.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mac-lte.h b/epan/dissectors/packet-mac-lte.h index a3a02d8d87..b342685c3d 100644 --- a/epan/dissectors/packet-mac-lte.h +++ b/epan/dissectors/packet-mac-lte.h @@ -242,3 +242,9 @@ int is_mac_lte_frame_retx(packet_info *pinfo, guint8 direction); continues until the end of the frame) */ #define MAC_LTE_PAYLOAD_TAG 0x01 + +/* Functions to be called from outside this module (e.g. in a plugin, where mac_lte_info + isn't available) to get/set per-packet data */ +mac_lte_info *get_mac_lte_proto_data(packet_info *pinfo); +void set_mac_lte_proto_data(packet_info *pinfo, mac_lte_info *p_mac_lte_info); + |