Home
last modified time | relevance | path

Searched refs:efrm (Results 1 – 15 of 15) sorted by relevance

/freebsd-12.1/sys/net80211/
H A Dieee80211_input.c491 uint8_t *frm, *efrm; in ieee80211_parse_beacon() local
495 efrm = mtod(m, uint8_t *) + m->m_len; in ieee80211_parse_beacon()
530 scan->ies_len = efrm - frm; in ieee80211_parse_beacon()
532 while (efrm - frm > 1) { in ieee80211_parse_beacon()
758 uint8_t *frm, *efrm; in ieee80211_parse_action() local
769 IEEE80211_VERIFY_LENGTH(efrm - frm, in ieee80211_parse_action()
781 IEEE80211_VERIFY_LENGTH(efrm - frm, in ieee80211_parse_action()
786 IEEE80211_VERIFY_LENGTH(efrm - frm, in ieee80211_parse_action()
791 IEEE80211_VERIFY_LENGTH(efrm - frm, in ieee80211_parse_action()
800 IEEE80211_VERIFY_LENGTH(efrm - frm, in ieee80211_parse_action()
[all …]
H A Dieee80211_sta.c1055 if (frm + 1 < efrm) { in sta_auth_shared()
1056 if ((frm[1] + 2) > (efrm - frm)) { in sta_auth_shared()
1060 frm[0], (frm[1] + 2) - (efrm - frm)); in sta_auth_shared()
1353 uint8_t *frm, *efrm; in sta_recv_mgmt() local
1361 efrm = mtod(m0, uint8_t *) + m0->m_len; in sta_recv_mgmt()
1646 IEEE80211_VERIFY_LENGTH(efrm - frm, 6, return); in sta_recv_mgmt()
1700 IEEE80211_VERIFY_LENGTH(efrm - frm, 6, return); in sta_recv_mgmt()
1718 while (efrm - frm > 1) { in sta_recv_mgmt()
1904 IEEE80211_VERIFY_LENGTH(efrm - frm, 2, return); in sta_recv_mgmt()
1938 IEEE80211_VERIFY_LENGTH(efrm - frm, 2, return); in sta_recv_mgmt()
[all …]
H A Dieee80211_action.c168 const uint8_t *frm, const uint8_t *efrm) in recv_inval() argument
246 const uint8_t *frm, const uint8_t *efrm) in ieee80211_recv_action() argument
288 return f(ni, wh, frm, efrm); in ieee80211_recv_action()
H A Dieee80211_hostap.c987 uint8_t *frm, uint8_t *efrm, int rssi, int nf, in hostap_auth_shared() argument
1027 if (frm + 1 < efrm) { in hostap_auth_shared()
1028 if ((frm[1] + 2) > (efrm - frm)) { in hostap_auth_shared()
1032 frm[0], (frm[1] + 2) - (efrm - frm)); in hostap_auth_shared()
1747 uint8_t *frm, *efrm, *sfrm; in hostap_recv_mgmt() local
1755 efrm = mtod(m0, uint8_t *) + m0->m_len; in hostap_recv_mgmt()
1880 while (efrm - frm > 1) { in hostap_recv_mgmt()
1942 IEEE80211_VERIFY_LENGTH(efrm - frm, 6, return); in hostap_recv_mgmt()
2049 while (efrm - frm > 1) { in hostap_recv_mgmt()
2292 IEEE80211_VERIFY_LENGTH(efrm - frm, 2, return); in hostap_recv_mgmt()
[all …]
H A Dieee80211_mesh.c1837 uint8_t *frm, *efrm; in mesh_recv_mgmt() local
1841 efrm = mtod(m0, uint8_t *) + m0->m_len; in mesh_recv_mgmt()
2002 while (efrm - frm > 1) { in mesh_recv_mgmt()
2106 const uint8_t *frm, const uint8_t *efrm, in mesh_parse_meshpeering_action() argument
2116 while (efrm - frm > 1) { in mesh_parse_meshpeering_action()
2235 const uint8_t *frm, const uint8_t *efrm) in mesh_recv_action_meshpeering_open() argument
2383 const uint8_t *frm, const uint8_t *efrm) in mesh_recv_action_meshpeering_confirm() argument
2447 const uint8_t *frm, const uint8_t *efrm) in mesh_recv_action_meshpeering_close() argument
2501 const uint8_t *frm, const uint8_t *efrm) in mesh_recv_action_meshlmetric() argument
2532 while (efrm - frm > 1) { in mesh_parse_meshgate_action()
[all …]
H A Dieee80211_adhoc.c709 uint8_t *frm, *efrm; in adhoc_recv_mgmt() local
717 efrm = mtod(m0, uint8_t *) + m0->m_len; in adhoc_recv_mgmt()
882 while (efrm - frm > 1) { in adhoc_recv_mgmt()
883 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, return); in adhoc_recv_mgmt()
949 (void)ic->ic_recv_action(ni, wh, frm, efrm); in adhoc_recv_mgmt()
H A Dieee80211_wds.c747 u_int8_t *frm, *efrm; in wds_recv_mgmt() local
751 efrm = mtod(m0, u_int8_t *) + m0->m_len; in wds_recv_mgmt()
771 (void)ic->ic_recv_action(ni, wh, frm, efrm); in wds_recv_mgmt()
H A Dieee80211_ht.c2218 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ba_addba_request() argument
2284 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ba_addba_response() argument
2358 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ba_delba() argument
2389 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ht_txchwidth() argument
2409 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ht_mimopwrsave() argument
H A Dieee80211_hwmp.c396 const uint8_t *frm, const uint8_t *efrm) in hwmp_recv_action_meshpath() argument
408 while (efrm - iefrm > 1) { in hwmp_recv_action_meshpath()
409 IEEE80211_VERIFY_LENGTH(efrm - iefrm, iefrm[1] + 2, return 0); in hwmp_recv_action_meshpath()
H A Dieee80211_vht.c91 const uint8_t *frm, const uint8_t *efrm) in vht_recv_action_placeholder() argument
H A Dieee80211_var.h342 const uint8_t *frm, const uint8_t *efrm);
/freebsd-12.1/sys/dev/if_ndis/
H A Dif_ndis.c3276 uint8_t *frm, *efrm; in ndis_scan_results() local
3329 efrm = frm + wb->nwbx_ielen; in ndis_scan_results()
3330 if (efrm - frm < 12) in ndis_scan_results()
3336 sp.ies_len = efrm - frm; in ndis_scan_results()
/freebsd-12.1/sys/dev/ipw/
H A Dif_ipw.c1121 uint8_t *frm, *efrm; in ipw_fix_channel() local
1136 efrm = mtod(m, uint8_t *) + m->m_len; in ipw_fix_channel()
1139 while (frm < efrm) { in ipw_fix_channel()
/freebsd-12.1/sys/dev/iwi/
H A Dif_iwi.c1308 const uint8_t *frm, *efrm, *wme; in iwi_checkforqos() local
1326 efrm = ((const uint8_t *) wh) + len; in iwi_checkforqos()
1336 while (efrm - frm > 1) { in iwi_checkforqos()
1337 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, return); in iwi_checkforqos()
/freebsd-12.1/sys/dev/mwl/
H A Dif_mwl.c3541 const uint8_t *frm, const uint8_t *efrm) in mwl_recv_action() argument
3557 return sc->sc_recv_action(ni, wh, frm, efrm); in mwl_recv_action()