Home
last modified time | relevance | path

Searched refs:ie_len (Results 1 – 18 of 18) sorted by relevance

/external/tcpdump/
Dprint-fr.c385 u_int8_t ie_len; member
393 u_int8_t ie_type,ie_len; in mfr_print() local
427 ie_len=tptr[1]; in mfr_print()
432 ie_len); in mfr_print()
435 if (ie_type == 0 || ie_len <= sizeof(struct ie_tlv_header_t)) in mfr_print()
438 TCHECK2(*tptr,ie_len); in mfr_print()
441 ie_len-=sizeof(struct ie_tlv_header_t); in mfr_print()
452 for (idx = 0; idx < ie_len && idx < MFR_ID_STRING_MAXLEN; idx++) { in mfr_print()
461 if (ie_len == sizeof(struct timeval)) { in mfr_print()
477 print_unknown_data(tptr,"\n\t ",ie_len); in mfr_print()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Dscan_helpers.c27 end = pos + res->ie_len; in wpa_scan_get_ie()
47 end = pos + res->ie_len; in wpa_scan_get_vendor_ie()
68 buf = wpabuf_alloc(res->ie_len); in wpa_scan_get_vendor_ie_multi()
73 end = pos + res->ie_len; in wpa_scan_get_vendor_ie_multi()
Ddriver_privsep.c186 if (sizeof(*r) + r->ie_len > (size_t) len) { in wpa_driver_privsep_get_scan_results2()
335 int ie_len; in wpa_driver_privsep_event_assoc() local
344 os_memcpy(&ie_len, pos, sizeof(int)); in wpa_driver_privsep_event_assoc()
346 if (ie_len < 0 || ie_len > end - pos) in wpa_driver_privsep_event_assoc()
348 if (ie_len) { in wpa_driver_privsep_event_assoc()
350 data.assoc_info.req_ies_len = ie_len; in wpa_driver_privsep_event_assoc()
351 pos += ie_len; in wpa_driver_privsep_event_assoc()
Ddriver_wext.c1318 size_t ie_len; member
1455 tmp = os_realloc(res->ie, res->ie_len + gend - gpos);
1458 os_memcpy(tmp + res->ie_len, gpos, gend - gpos);
1460 res->ie_len += gend - gpos;
1483 tmp = os_realloc(res->ie, res->ie_len + bytes);
1486 hexstr2bin(spos, tmp + res->ie_len, bytes);
1488 res->ie_len += bytes;
1497 tmp = os_realloc(res->ie, res->ie_len + bytes);
1500 hexstr2bin(spos, tmp + res->ie_len, bytes);
1502 res->ie_len += bytes;
[all …]
Ddriver_nl80211.c1707 size_t ie_len; in bss_info_handler() local
1718 ie_len = nla_len(bss[NL80211_BSS_INFORMATION_ELEMENTS]); in bss_info_handler()
1721 ie_len = 0; in bss_info_handler()
1724 r = os_zalloc(sizeof(*r) + ie_len); in bss_info_handler()
1742 r->ie_len = ie_len; in bss_info_handler()
1744 os_memcpy(r + 1, ie, ie_len); in bss_info_handler()
2036 size_t ie_len) in wpa_driver_nl80211_set_gen_ie() argument
2045 iwr.u.data.length = ie_len; in wpa_driver_nl80211_set_gen_ie()
Ddriver.h114 size_t ie_len; member
Ddriver_test.c207 r = os_malloc(sizeof(*r) + drv->scanres[i]->ie_len); in wpa_driver_test_get_scan_results2()
211 sizeof(*r) + drv->scanres[i]->ie_len); in wpa_driver_test_get_scan_results2()
461 res->ie_len = ie_pos - ie_start; in wpa_driver_test_scanresp()
Ddriver_ndis.c749 nr = os_realloc(r, sizeof(*r) + r->ie_len + 2 + ssid->SsidLength); in wpa_driver_ndis_add_scan_ssid()
753 pos = ((u8 *) (nr + 1)) + nr->ie_len; in wpa_driver_ndis_add_scan_ssid()
757 nr->ie_len += 2 + ssid->SsidLength; in wpa_driver_ndis_add_scan_ssid()
835 r->ie_len = bss->IELength - sizeof(NDIS_802_11_FIXED_IEs); in wpa_driver_ndis_get_scan_results()
/external/wpa_supplicant_6/wpa_supplicant/
Dwpa_priv.c162 val = sizeof(*r) + r->ie_len; in wpa_priv_get_scan_results2()
214 size_t ie_len; in wpa_priv_send_old_scan_results() local
216 ie_len = 2 + r->ssid_len + r->rsn_ie_len + r->wpa_ie_len; in wpa_priv_send_old_scan_results()
218 ie_len += 3; in wpa_priv_send_old_scan_results()
220 ie_len += 5; in wpa_priv_send_old_scan_results()
222 val = sizeof(nres) + ie_len; in wpa_priv_send_old_scan_results()
235 nres.ie_len = ie_len; in wpa_priv_send_old_scan_results()
Dmlme.c68 size_t ie_len; member
1291 size_t ie_len; in ieee80211_bss_info() local
1332 ie_len = len - baselen; in ieee80211_bss_info()
1333 if (ieee802_11_parse_elems(ie_pos, ie_len, &elems, 0) == ParseFailed) in ieee80211_bss_info()
1425 if (bss->ie == NULL || bss->ie_len < ie_len) { in ieee80211_bss_info()
1427 bss->ie = os_malloc(ie_len); in ieee80211_bss_info()
1430 os_memcpy(bss->ie, ie_pos, ie_len); in ieee80211_bss_info()
1431 bss->ie_len = ie_len; in ieee80211_bss_info()
2696 r = os_zalloc(sizeof(*r) + bss->ie_len); in ieee80211_sta_get_scan_results()
2706 r->ie_len = bss->ie_len; in ieee80211_sta_get_scan_results()
[all …]
Dwpa_supplicant.c1324 size_t ie_len; in wpa_supplicant_get_scan_results_old() local
1327 ie_len = 2 + bss->ssid_len + bss->rsn_ie_len + bss->wpa_ie_len; in wpa_supplicant_get_scan_results_old()
1329 ie_len += 3; in wpa_supplicant_get_scan_results_old()
1331 ie_len += 5; in wpa_supplicant_get_scan_results_old()
1333 r = os_zalloc(sizeof(*r) + ie_len); in wpa_supplicant_get_scan_results_old()
1344 r->ie_len = ie_len; in wpa_supplicant_get_scan_results_old()
Dctrl_iface.c628 const u8 *ie, size_t ie_len) in wpa_supplicant_ie_txt() argument
638 if (wpa_parse_wpa_ie(ie, ie_len, &data) < 0) { in wpa_supplicant_ie_txt()
1543 for (i = 0; i < bss->ie_len; i++) { in wpa_supplicant_ctrl_iface_bss()
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
Dwpa_ft.c294 static int wpa_ft_parse_ftie(const u8 *ie, size_t ie_len, in wpa_ft_parse_ftie() argument
300 parse->ftie_len = ie_len; in wpa_ft_parse_ftie()
303 end = ie + ie_len; in wpa_ft_parse_ftie()
Dpeerkey.c30 static u8 * wpa_add_ie(u8 *pos, const u8 *ie, size_t ie_len) in wpa_add_ie() argument
32 os_memcpy(pos, ie, ie_len); in wpa_add_ie()
33 return pos + ie_len; in wpa_add_ie()
/external/wpa_supplicant/
Dctrl_iface.c472 const u8 *ie, size_t ie_len) in wpa_supplicant_ie_txt() argument
482 if (wpa_parse_wpa_ie(ie, ie_len, &data) < 0) { in wpa_supplicant_ie_txt()
Ddriver_ndis.c738 size_t ie_len) in wpa_driver_ndis_get_ies() argument
741 u8 *end = ie + ie_len; in wpa_driver_ndis_get_ies()
743 if (ie_len < sizeof(NDIS_802_11_FIXED_IEs)) in wpa_driver_ndis_get_ies()
Dwpa.c342 static u8 * wpa_add_ie(u8 *pos, const u8 *ie, size_t ie_len) in wpa_add_ie() argument
344 os_memcpy(pos, ie, ie_len); in wpa_add_ie()
345 return pos + ie_len; in wpa_add_ie()
Ddriver_wext.c1842 size_t ie_len) argument
1851 iwr.u.data.length = ie_len;