Searched refs:datalen (Results 1 – 8 of 8) sorted by relevance
/hostap-3.7.0/src/common/ |
D | ieee802_11_common.h | 17 u8 datalen; member 286 (int) sizeof(*_elem) + _elem->datalen; \ 287 _elem = (const struct element *) (_elem->data + _elem->datalen)) 289 #define for_each_element_id(element, _id, data, datalen) \ argument 290 for_each_element(element, data, datalen) \ 296 element->datalen > 0 && \ 300 for_each_element(sub, (element)->data, (element)->datalen) 303 for_each_element_id(sub, id, (element)->data, (element)->datalen) 306 for_each_element_extid(sub, extid, (element)->data, (element)->datalen) 322 const void *data, size_t datalen) in for_each_element_completed() argument [all …]
|
D | ieee802_11_common.c | 373 u8 id = elem->id, elen = elem->datalen; in ieee802_11_parse_elems() 640 if (elem->datalen >= 4 && in ieee802_11_vendor_ie_concat() 659 if (elem->datalen >= 4 && WPA_GET_BE32(elem->data) == oui_type) in ieee802_11_vendor_ie_concat() 660 wpabuf_put_data(buf, elem->data + 4, elem->datalen - 4); in ieee802_11_vendor_ie_concat() 1833 elem->datalen + 2); in mb_ies_info_by_ies() 1835 info->ies[info->nof_ies].ie_len = elem->datalen; in mb_ies_info_by_ies() 2025 if (elem->datalen >= 4 && in get_vendor_ie()
|
/hostap-3.7.0/wpa_supplicant/ |
D | config_winreg.c | 69 DWORD namelen, datalen, type; in wpa_config_read_blobs() local 72 datalen = sizeof(data); in wpa_config_read_blobs() 74 (LPBYTE) data, &datalen); in wpa_config_read_blobs() 90 if (datalen >= sizeof(data)) in wpa_config_read_blobs() 91 datalen = sizeof(data) - 1; in wpa_config_read_blobs() 94 (int) i, name, (int) datalen); in wpa_config_read_blobs() 102 blob->data = os_memdup(data, datalen); in wpa_config_read_blobs() 108 blob->len = datalen; in wpa_config_read_blobs() 323 DWORD namelen, datalen, type; in wpa_config_read_network() local 326 datalen = sizeof(data); in wpa_config_read_network() [all …]
|
D | bss.c | 1189 if (elem->datalen >= 4 && in wpa_bss_get_vendor_ie() 1224 if (elem->datalen >= 4 && in wpa_bss_get_vendor_ie_beacon()
|
D | scan.c | 1961 if (elem->datalen >= 4 && in wpa_scan_get_vendor_ie() 1996 if (elem->datalen >= 4 && in wpa_scan_get_vendor_ie_beacon()
|
/hostap-3.7.0/src/eapol_auth/ |
D | eapol_auth_sm.h | 45 size_t datalen); 47 size_t datalen);
|
/hostap-3.7.0/wlantest/ |
D | writepcap.c | 288 size_t len, datalen = hdr->caplen; in write_pcapng_write_read() local 329 datalen -= WPA_GET_LE32(data + 4); in write_pcapng_write_read() 342 os_memcpy(pos, data, datalen); in write_pcapng_write_read() 343 pos += datalen + PAD32(pkt->captured_len); in write_pcapng_write_read()
|
/hostap-3.7.0/src/ap/ |
D | ieee802_1x.c | 52 u8 type, const u8 *data, size_t datalen) in ieee802_1x_send() argument 59 len = sizeof(*xhdr) + datalen; in ieee802_1x_send() 74 xhdr->length = host_to_be16(datalen); in ieee802_1x_send() 76 if (datalen > 0 && data != NULL) in ieee802_1x_send() 77 os_memcpy(xhdr + 1, data, datalen); in ieee802_1x_send() 1038 u16 datalen; in ieee802_1x_receive() local 1069 datalen = be_to_host16(hdr->length); in ieee802_1x_receive() 1071 hdr->version, hdr->type, datalen); in ieee802_1x_receive() 1073 if (len - sizeof(*hdr) < datalen) { in ieee802_1x_receive() 1080 if (len - sizeof(*hdr) > datalen) { in ieee802_1x_receive() [all …]
|