Home
last modified time | relevance | path

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

/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_wpas_glue.c37 hdr->length = host_to_be16(data_len); in wpa_alloc_eapol()
69 eth->h_proto = host_to_be16(proto); in wpa_ether_send()
87 eth->h_proto = host_to_be16(ETH_P_EAPOL); in hostapd_send_eapol()
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/
Deap_fast.c505 nak->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | EAP_TLV_NAK_TLV); in eap_fast_tlv_nak()
506 nak->length = host_to_be16(6); in eap_fast_tlv_nak()
508 nak->nak_type = host_to_be16(tlv_type); in eap_fast_tlv_nak()
523 result->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_tlv_result()
527 result->length = host_to_be16(2); in eap_fast_tlv_result()
528 result->status = host_to_be16(status); in eap_fast_tlv_result()
545 ack->tlv_type = host_to_be16(EAP_TLV_PAC_TLV | in eap_fast_tlv_pac_ack()
547 ack->length = host_to_be16(sizeof(*ack) - sizeof(struct eap_tlv_hdr)); in eap_fast_tlv_pac_ack()
548 ack->pac_type = host_to_be16(PAC_TYPE_PAC_ACKNOWLEDGEMENT); in eap_fast_tlv_pac_ack()
549 ack->pac_len = host_to_be16(2); in eap_fast_tlv_pac_ack()
[all …]
Deap_common.c144 hdr->length = host_to_be16(len); in eap_msg_alloc()
173 hdr->length = host_to_be16(wpabuf_len(msg)); in eap_update_len()
Deap_fast_common.c22 hdr.type = host_to_be16(type); in eap_fast_put_tlv_hdr()
23 hdr.len = host_to_be16(len); in eap_fast_put_tlv_hdr()
Deap_peap.c644 tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_peapv2_tlv_eap_payload()
646 tlv->length = host_to_be16(wpabuf_len(buf)); in eap_peapv2_tlv_eap_payload()
882 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_decrypt()
1005 host_to_be16(sizeof(*rhdr)); in eap_peap_decrypt()
1029 rhdr->length = host_to_be16(sizeof(*rhdr)); in eap_peap_decrypt()
Deap_ttls.c983 hdr->length = host_to_be16(sizeof(*hdr) + 1); in eap_ttls_fake_identity_request()
/hal_espressif-latest/components/wpa_supplicant/src/utils/
Dcommon.h59 #define host_to_be16(n) wpa_swap_16(n) macro
88 #define host_to_be16(n) ((__force be16) __builtin_bswap16((n))) macro
101 #define host_to_be16(n) (n) macro
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dieee802_1x.c54 xhdr->length = host_to_be16(datalen); in ieee802_1x_send()
Dwpa_auth.c1066 hdr->length = host_to_be16(len - sizeof(*hdr)); in __wpa_send_eapol()
/hal_espressif-latest/components/wpa_supplicant/src/eap_server/
Deap_server.c1584 resp->length = host_to_be16(sizeof(*resp)); in eap_sm_buildSuccess()
1602 resp->length = host_to_be16(sizeof(*resp)); in eap_sm_buildFailure()
/hal_espressif-latest/components/wpa_supplicant/src/eapol_auth/
Deapol_auth_sm.c99 eap.length = host_to_be16(sizeof(eap)); in eapol_auth_tx_canned_eap()