Home
last modified time | relevance | path

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

/f-stack/freebsd/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_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_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()
1395 uint8_t *frm, *efrm; in sta_recv_mgmt() local
1403 efrm = mtod(m0, uint8_t *) + m0->m_len; in sta_recv_mgmt()
1697 IEEE80211_VERIFY_LENGTH(efrm - frm, 6, return); in sta_recv_mgmt()
1751 IEEE80211_VERIFY_LENGTH(efrm - frm, 6, return); in sta_recv_mgmt()
1769 while (efrm - frm > 1) { in sta_recv_mgmt()
1958 IEEE80211_VERIFY_LENGTH(efrm - frm, 2, return); in sta_recv_mgmt()
1992 IEEE80211_VERIFY_LENGTH(efrm - frm, 2, return); in sta_recv_mgmt()
[all …]
H A Dieee80211_hostap.c989 uint8_t *frm, uint8_t *efrm, int rssi, int nf, in hostap_auth_shared() argument
1029 if (frm + 1 < efrm) { in hostap_auth_shared()
1030 if ((frm[1] + 2) > (efrm - frm)) { in hostap_auth_shared()
1034 frm[0], (frm[1] + 2) - (efrm - frm)); in hostap_auth_shared()
1749 uint8_t *frm, *efrm, *sfrm; in hostap_recv_mgmt() local
1757 efrm = mtod(m0, uint8_t *) + m0->m_len; in hostap_recv_mgmt()
1885 while (efrm - frm > 1) { in hostap_recv_mgmt()
1947 IEEE80211_VERIFY_LENGTH(efrm - frm, 6, return); in hostap_recv_mgmt()
2054 while (efrm - frm > 1) { in hostap_recv_mgmt()
2308 IEEE80211_VERIFY_LENGTH(efrm - frm, 2, return); in hostap_recv_mgmt()
[all …]
H A Dieee80211_mesh.c1842 uint8_t *frm, *efrm; in mesh_recv_mgmt() local
1846 efrm = mtod(m0, uint8_t *) + m0->m_len; in mesh_recv_mgmt()
2007 while (efrm - frm > 1) { in mesh_recv_mgmt()
2111 const uint8_t *frm, const uint8_t *efrm, in mesh_parse_meshpeering_action() argument
2121 while (efrm - frm > 1) { in mesh_parse_meshpeering_action()
2240 const uint8_t *frm, const uint8_t *efrm) in mesh_recv_action_meshpeering_open() argument
2388 const uint8_t *frm, const uint8_t *efrm) in mesh_recv_action_meshpeering_confirm() argument
2452 const uint8_t *frm, const uint8_t *efrm) in mesh_recv_action_meshpeering_close() argument
2506 const uint8_t *frm, const uint8_t *efrm) in mesh_recv_action_meshlmetric() argument
2537 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()
905 while (efrm - frm > 1) { in adhoc_recv_mgmt()
906 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, return); in adhoc_recv_mgmt()
972 (void)ic->ic_recv_action(ni, wh, frm, efrm); in adhoc_recv_mgmt()
H A Dieee80211_wds.c749 u_int8_t *frm, *efrm; in wds_recv_mgmt() local
753 efrm = mtod(m0, u_int8_t *) + m0->m_len; in wds_recv_mgmt()
773 (void)ic->ic_recv_action(ni, wh, frm, efrm); in wds_recv_mgmt()
H A Dieee80211_ht.c2405 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ba_addba_request() argument
2482 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ba_addba_response() argument
2561 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ba_delba() argument
2592 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ht_txchwidth() argument
2612 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ht_mimopwrsave() argument
H A Dieee80211_vht.c87 const uint8_t *frm, const uint8_t *efrm) in vht_recv_action_placeholder() argument
H A Dieee80211_hwmp.c402 const uint8_t *frm, const uint8_t *efrm) in hwmp_recv_action_meshpath() argument
414 while (efrm - iefrm > 1) { in hwmp_recv_action_meshpath()
415 IEEE80211_VERIFY_LENGTH(efrm - iefrm, iefrm[1] + 2, return 0); in hwmp_recv_action_meshpath()
H A Dieee80211_var.h349 const uint8_t *frm, const uint8_t *efrm);