Searched refs:be_to_host16 (Results 1 – 9 of 9) sorted by relevance
627 size_t len = be_to_host16(hdr->length); in eap_peap_phase2_request()826 be_to_host16(hdr->length) == 5 && in eap_peap_decrypt()867 if ((be_to_host16(tlv->tlv_type) & 0x3fff) != in eap_peap_decrypt()873 if (sizeof(*tlv) + be_to_host16(tlv->length) > in eap_peap_decrypt()881 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) { in eap_peap_decrypt()888 nmsg = wpabuf_alloc(be_to_host16(hdr->length)); in eap_peap_decrypt()894 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length)); in eap_peap_decrypt()907 len = be_to_host16(hdr->length); in eap_peap_decrypt()
40 len = be_to_host16(hdr->length); in eap_hdr_len_valid()77 len = be_to_host16(hdr->length); in eap_hdr_validate()
419 size_t len = be_to_host16(hdr->length); in eap_fast_phase2_request()572 if (be_to_host16(hdr->length) > eap_payload_tlv_len) { in eap_fast_process_eap_payload_tlv()875 type = be_to_host16(hdr->type); in eap_fast_process_pac_tlv()876 len = be_to_host16(hdr->len); in eap_fast_process_pac_tlv()985 type = be_to_host16(hdr->type); in eap_fast_process_pac_info()986 len = be_to_host16(hdr->len); in eap_fast_process_pac_info()1343 tlen = be_to_host16(hdr->len); in eap_fast_get_a_id()1344 if (be_to_host16(hdr->type) == PAC_TYPE_A_ID && in eap_fast_get_a_id()
374 size_t len = be_to_host16(hdr->length); in eap_ttls_phase2_request_eap()1036 len = be_to_host16(hdr->length); in eap_ttls_process_phase2_eap()
58 #define be_to_host16(n) wpa_swap_16(n) macro87 #define be_to_host16(n) __builtin_bswap16((__force u16) (be16) (n)) macro100 #define be_to_host16(n) (n) macro
53 datalen = be_to_host16(hdr->length); in ieee802_1x_receive()
381 plen = be_to_host16(ehdr->length); in eap_sm_process_request()567 plen = be_to_host16(hdr->length); in eap_sm_rx_eapol_internal()
1166 plen = be_to_host16(hdr->length); in wps_sm_rx_eapol_internal()1168 eap_len = be_to_host16(ehdr->length); in wps_sm_rx_eapol_internal()
1817 plen = be_to_host16(hdr->length); in wpa_sm_rx_eapol()