diff options
author | sam <sam@FreeBSD.org> | 2004-04-01 00:38:45 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2004-04-01 00:38:45 +0000 |
commit | bae4e38c197f464c4bffe7037d5d491e462105b0 (patch) | |
tree | d7cf9a83baabf9976c2b03fef74b9ddd06a31392 /sys/dev/wi/if_wivar.h | |
parent | db3970859c10f151af31090a6c0f457949f9a7a6 (diff) | |
download | FreeBSD-src-bae4e38c197f464c4bffe7037d5d491e462105b0.zip FreeBSD-src-bae4e38c197f464c4bffe7037d5d491e462105b0.tar.gz |
radiotap updates:
o force little-endian byte order for header
o pad header to 32-bit boundary to guard against applications that assume
packet data alignment
Diffstat (limited to 'sys/dev/wi/if_wivar.h')
-rw-r--r-- | sys/dev/wi/if_wivar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wivar.h b/sys/dev/wi/if_wivar.h index bd7e16b..0a8388e 100644 --- a/sys/dev/wi/if_wivar.h +++ b/sys/dev/wi/if_wivar.h @@ -168,10 +168,12 @@ struct wi_softc { struct wi_tx_radiotap_header th; u_int8_t pad[64]; } u_tx_rt; + int sc_tx_th_len; union { struct wi_rx_radiotap_header th; u_int8_t pad[64]; } u_rx_rt; + int sc_rx_th_len; }; #define sc_if sc_ic.ic_if #define sc_tx_th u_tx_rt.th |