Home
last modified time | relevance | path

Searched refs:rh_len (Results 1 – 5 of 5) sorted by relevance

/openbsd/usr.sbin/hostapd/
H A Dapme.c318 u_int rh_len; in hostapd_apme_offset() local
329 rh_len = letoh16(rh->it_len); in hostapd_apme_offset()
333 if (len <= rh_len) in hostapd_apme_offset()
336 return ((int)rh_len); in hostapd_apme_offset()
H A Dprint-802_11.c452 u_int rh_len; in ieee802_11_radio_if_print() local
458 rh_len = letoh16(rh->it_len); in ieee802_11_radio_if_print()
464 wh = (struct ieee80211_frame *)(buf + rh_len); in ieee802_11_radio_if_print()
465 if (len <= rh_len || ieee80211_print(wh)) in ieee802_11_radio_if_print()
H A Dhandle.c395 u_int rh_len; in hostapd_handle_radiotap() local
400 rh_len = letoh16(rh->it_len); in hostapd_handle_radiotap()
403 if (len <= rh_len) in hostapd_handle_radiotap()
/openbsd/usr.sbin/tcpdump/
H A Dprint-802_11.c1432 u_int len, rh_len; in ieee802_11_radio_if_print() local
1444 rh_len = letoh16(rh->it_len); in ieee802_11_radio_if_print()
1450 wh = (struct ieee80211_frame *)(p + rh_len); in ieee802_11_radio_if_print()
1451 if (len <= rh_len || ieee80211_print(wh, len - rh_len)) in ieee802_11_radio_if_print()
H A Dprint-udp.c64 u_short rh_len; /* length of message (in words) */ member
217 len = (ntohs(rh->rh_len) + 1) * 4; in rtcp_print()