Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/net80211/
HDieee80211_input.c524 uint8_t *frm, *efrm; in ieee80211_parse_beacon() local
528 efrm = mtod(m, uint8_t *) + m->m_len; in ieee80211_parse_beacon()
554 IEEE80211_VERIFY_LENGTH(efrm - frm, 12, in ieee80211_parse_beacon()
563 scan->ies_len = efrm - frm; in ieee80211_parse_beacon()
565 while (efrm - frm > 1) { in ieee80211_parse_beacon()
566 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, in ieee80211_parse_beacon()
797 uint8_t *frm, *efrm; in ieee80211_parse_action() local
807 efrm = mtod(m, u_int8_t *) + m->m_len; in ieee80211_parse_action()
808 IEEE80211_VERIFY_LENGTH(efrm - frm, in ieee80211_parse_action()
820 IEEE80211_VERIFY_LENGTH(efrm - frm, in ieee80211_parse_action()
[all …]
HDieee80211_sta.c1034 uint8_t *frm, uint8_t *efrm, int rssi, int nf, in sta_auth_shared() argument
1069 if (frm + 1 < efrm) { in sta_auth_shared()
1070 if ((frm[1] + 2) > (efrm - frm)) { in sta_auth_shared()
1074 frm[0], (frm[1] + 2) - (efrm - frm)); in sta_auth_shared()
1409 uint8_t *frm, *efrm; in sta_recv_mgmt() local
1417 efrm = mtod(m0, uint8_t *) + m0->m_len; in sta_recv_mgmt()
1716 IEEE80211_VERIFY_LENGTH(efrm - frm, 6, return); in sta_recv_mgmt()
1736 sta_auth_shared(ni, wh, frm + 6, efrm, rssi, nf, in sta_recv_mgmt()
1770 IEEE80211_VERIFY_LENGTH(efrm - frm, 6, return); in sta_recv_mgmt()
1788 while (efrm - frm > 1) { in sta_recv_mgmt()
[all …]
HDieee80211_action.c167 const uint8_t *frm, const uint8_t *efrm) in recv_inval() argument
245 const uint8_t *frm, const uint8_t *efrm) in ieee80211_recv_action() argument
287 return f(ni, wh, frm, efrm); in ieee80211_recv_action()
HDieee80211_hostap.c999 uint8_t *frm, uint8_t *efrm, int rssi, int nf, in hostap_auth_shared() argument
1039 if (frm + 1 < efrm) { in hostap_auth_shared()
1040 if ((frm[1] + 2) > (efrm - frm)) { in hostap_auth_shared()
1044 frm[0], (frm[1] + 2) - (efrm - frm)); in hostap_auth_shared()
1769 uint8_t *frm, *efrm, *sfrm; in hostap_recv_mgmt() local
1777 efrm = mtod(m0, uint8_t *) + m0->m_len; in hostap_recv_mgmt()
1905 while (efrm - frm > 1) { in hostap_recv_mgmt()
1906 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, return); in hostap_recv_mgmt()
1967 IEEE80211_VERIFY_LENGTH(efrm - frm, 6, return); in hostap_recv_mgmt()
1996 hostap_auth_shared(ni, wh, frm + 6, efrm, rssi, nf, in hostap_recv_mgmt()
[all …]
HDieee80211_mesh.c1841 uint8_t *frm, *efrm; in mesh_recv_mgmt() local
1845 efrm = mtod(m0, uint8_t *) + m0->m_len; in mesh_recv_mgmt()
2006 while (efrm - frm > 1) { in mesh_recv_mgmt()
2007 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, return); in mesh_recv_mgmt()
2067 (void)ic->ic_recv_action(ni, wh, frm, efrm); in mesh_recv_mgmt()
2110 const uint8_t *frm, const uint8_t *efrm, in mesh_parse_meshpeering_action() argument
2120 while (efrm - frm > 1) { in mesh_parse_meshpeering_action()
2121 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, return NULL); in mesh_parse_meshpeering_action()
2239 const uint8_t *frm, const uint8_t *efrm) in mesh_recv_action_meshpeering_open() argument
2248 meshpeer = mesh_parse_meshpeering_action(ni, wh, frm+2+2, efrm, &ie, in mesh_recv_action_meshpeering_open()
[all …]
HDieee80211_adhoc.c715 uint8_t *frm, *efrm; in adhoc_recv_mgmt() local
723 efrm = mtod(m0, uint8_t *) + m0->m_len; in adhoc_recv_mgmt()
911 while (efrm - frm > 1) { in adhoc_recv_mgmt()
912 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, return); in adhoc_recv_mgmt()
978 (void)ic->ic_recv_action(ni, wh, frm, efrm); in adhoc_recv_mgmt()
HDieee80211_wds.c753 u_int8_t *frm, *efrm; in wds_recv_mgmt() local
757 efrm = mtod(m0, u_int8_t *) + m0->m_len; in wds_recv_mgmt()
777 (void)ic->ic_recv_action(ni, wh, frm, efrm); in wds_recv_mgmt()
HDieee80211_ht.c2403 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ba_addba_request() argument
2480 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ba_addba_response() argument
2563 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ba_delba() argument
2599 const uint8_t *frm, const uint8_t *efrm __unused) in ht_recv_action_ht_txchwidth()
2624 const uint8_t *frm, const uint8_t *efrm) in ht_recv_action_ht_mimopwrsave() argument
HDieee80211_hwmp.c400 const uint8_t *frm, const uint8_t *efrm) in hwmp_recv_action_meshpath() argument
412 while (efrm - iefrm > 1) { in hwmp_recv_action_meshpath()
413 IEEE80211_VERIFY_LENGTH(efrm - iefrm, iefrm[1] + 2, return 0); in hwmp_recv_action_meshpath()
HDieee80211_vht.c86 const uint8_t *frm, const uint8_t *efrm) in vht_recv_action_placeholder() argument
HDieee80211_var.h348 const uint8_t *frm, const uint8_t *efrm);
/freebsd-14-stable/sys/dev/ipw/
HDif_ipw.c1118 uint8_t *frm, *efrm; in ipw_fix_channel() local
1133 efrm = mtod(m, uint8_t *) + m->m_len; in ipw_fix_channel()
1136 while (frm < efrm) { in ipw_fix_channel()
/freebsd-14-stable/sys/dev/iwi/
HDif_iwi.c1304 const uint8_t *frm, *efrm, *wme; in iwi_checkforqos() local
1322 efrm = ((const uint8_t *) wh) + len; in iwi_checkforqos()
1332 while (efrm - frm > 1) { in iwi_checkforqos()
1333 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, return); in iwi_checkforqos()
/freebsd-14-stable/sys/dev/mwl/
HDif_mwl.c3535 const uint8_t *frm, const uint8_t *efrm) in mwl_recv_action() argument
3552 return sc->sc_recv_action(ni, wh, frm, efrm); in mwl_recv_action()
/freebsd-14-stable/sys/compat/linuxkpi/common/src/
HDlinux_80211.c5194 const uint8_t *frm, const uint8_t *efrm) argument
5204 return (lhw->ic_recv_action(ni, wh, frm, efrm));