diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-01-23 16:56:34 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-01-23 16:56:34 +0000 |
commit | 41c941b49c668302f0e7031196c88df6daec2a16 (patch) | |
tree | 2e4c8e858a77cdf782a0339bb806601ff6c9aa1a /epan/dissectors/packet-ieee80211.h | |
parent | d3a989319626e413e6171544417be76156c34ad9 (diff) |
Call capture_radiotap() when capturing on a device supplying Radiotap
headers.
Fix capture_radiotap() to check for padding between the 802.11 header
and the 802.11 payload and to call different capture routines depending
on whether it's present or not, and create capture_ieee80211_datapad()
to handle the case where it's present.
Fix capture_radiotap() to convert the Radiotap header length from
little-endian, and to do some sanity checking of that length.
Fix capture_ieee80211_common() to use the offset supplied to it to fetch
the frame control field, as that offset isn't necessarily 0.
svn path=/trunk/; revision=17083
Diffstat (limited to 'epan/dissectors/packet-ieee80211.h')
-rw-r--r-- | epan/dissectors/packet-ieee80211.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ieee80211.h b/epan/dissectors/packet-ieee80211.h index 6ab638d2c4..3760c76f6d 100644 --- a/epan/dissectors/packet-ieee80211.h +++ b/epan/dissectors/packet-ieee80211.h @@ -28,6 +28,7 @@ */ void capture_ieee80211 (const guchar *, int, int, packet_counts *); +void capture_ieee80211_datapad (const guchar *, int, int, packet_counts *); void capture_ieee80211_fixed (const guchar *, int, int, packet_counts *); void ieee_80211_add_tagged_parameters (tvbuff_t * tvb, int offset, |