Define IEEE80211_RADIOTAP_HDRLEN, the length of a radiotap header.

This commit is contained in:
dyoung 2004-06-06 04:13:28 +00:00
parent bcc2926388
commit 50c193fc53
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/* $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.
@ -52,6 +52,11 @@
#endif
#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. */
struct ieee80211_radiotap_header {
u_int8_t it_version; /* Version 0. Only increases