Define IEEE80211_RADIOTAP_HDRLEN, the length of a radiotap header.
This commit is contained in:
parent
bcc2926388
commit
50c193fc53
@ -1,5 +1,5 @@
|
|||||||
/* $FreeBSD: src/sys/net80211/ieee80211_radiotap.h,v 1.3 2004/04/05 22:13:21 sam Exp $ */
|
/* $FreeBSD: src/sys/net80211/ieee80211_radiotap.h,v 1.3 2004/04/05 22:13:21 sam Exp $ */
|
||||||
/* $NetBSD: ieee80211_radiotap.h,v 1.8 2004/04/30 22:22:53 dyoung Exp $ */
|
/* $NetBSD: ieee80211_radiotap.h,v 1.9 2004/06/06 04:13:28 dyoung Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2003, 2004 David Young. All rights reserved.
|
* Copyright (c) 2003, 2004 David Young. All rights reserved.
|
||||||
@ -52,6 +52,11 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif /* _KERNEL */
|
#endif /* _KERNEL */
|
||||||
|
|
||||||
|
/* XXX tcpdump/libpcap do not tolerate variable-length headers,
|
||||||
|
* yet, so we pad every radiotap header to 64 bytes. Ugh.
|
||||||
|
*/
|
||||||
|
#define IEEE80211_RADIOTAP_HDRLEN 64
|
||||||
|
|
||||||
/* The radio capture header precedes the 802.11 header. */
|
/* The radio capture header precedes the 802.11 header. */
|
||||||
struct ieee80211_radiotap_header {
|
struct ieee80211_radiotap_header {
|
||||||
u_int8_t it_version; /* Version 0. Only increases
|
u_int8_t it_version; /* Version 0. Only increases
|
||||||
|
Loading…
Reference in New Issue
Block a user