/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_fast.c | 526 nak->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | EAP_TLV_NAK_TLV); in eap_fast_tlv_nak() 527 nak->length = host_to_be16(6); in eap_fast_tlv_nak() 529 nak->nak_type = host_to_be16(tlv_type); in eap_fast_tlv_nak() 544 result->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_tlv_result() 548 result->length = host_to_be16(2); in eap_fast_tlv_result() 549 result->status = host_to_be16(status); in eap_fast_tlv_result() 566 ack->tlv_type = host_to_be16(EAP_TLV_PAC_TLV | in eap_fast_tlv_pac_ack() 568 ack->length = host_to_be16(sizeof(*ack) - sizeof(struct eap_tlv_hdr)); in eap_fast_tlv_pac_ack() 569 ack->pac_type = host_to_be16(PAC_TYPE_PAC_ACKNOWLEDGEMENT); in eap_fast_tlv_pac_ack() 570 ack->pac_len = host_to_be16(2); in eap_fast_tlv_pac_ack() [all …]
|
D | eap_teap.c | 506 nak->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | TEAP_TLV_NAK); in eap_teap_tlv_nak() 507 nak->length = host_to_be16(6); in eap_teap_tlv_nak() 509 nak->nak_type = host_to_be16(tlv_type); in eap_teap_tlv_nak() 526 ack->tlv_type = host_to_be16(TEAP_TLV_PAC | TEAP_TLV_MANDATORY); in eap_teap_tlv_pac_ack() 527 ack->length = host_to_be16(sizeof(*ack) - sizeof(struct teap_tlv_hdr)); in eap_teap_tlv_pac_ack() 528 ack->pac_type = host_to_be16(PAC_TYPE_PAC_ACKNOWLEDGEMENT); in eap_teap_tlv_pac_ack() 529 ack->pac_len = host_to_be16(2); in eap_teap_tlv_pac_ack() 530 ack->result = host_to_be16(TEAP_STATUS_SUCCESS); in eap_teap_tlv_pac_ack() 683 rbind->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_write_crypto_binding() 685 rbind->length = host_to_be16(sizeof(*rbind) - in eap_teap_write_crypto_binding() [all …]
|
D | eap_peap.c | 840 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_decrypt() 921 host_to_be16(sizeof(*rhdr)); in eap_peap_decrypt() 945 rhdr->length = host_to_be16(sizeof(*rhdr)); in eap_peap_decrypt()
|
D | eap_ttls.c | 1085 hdr->length = host_to_be16(sizeof(*hdr) + 1); in eap_ttls_fake_identity_request()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_fast.c | 620 result->tlv_type = host_to_be16( in eap_fast_build_crypto_binding() 623 result->length = host_to_be16(2); in eap_fast_build_crypto_binding() 624 result->status = host_to_be16(EAP_TLV_RESULT_SUCCESS); in eap_fast_build_crypto_binding() 632 result->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_crypto_binding() 634 result->length = host_to_be16(2); in eap_fast_build_crypto_binding() 635 result->status = host_to_be16(EAP_TLV_RESULT_SUCCESS); in eap_fast_build_crypto_binding() 640 binding->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_crypto_binding() 642 binding->length = host_to_be16(sizeof(*binding) - in eap_fast_build_crypto_binding() 773 pac_tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_pac() 785 pac_info->type = host_to_be16(PAC_TYPE_PAC_INFO); in eap_fast_build_pac() [all …]
|
D | eap_server_teap.c | 638 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding() 640 result->length = host_to_be16(2); in eap_teap_build_crypto_binding() 641 result->status = host_to_be16(TEAP_STATUS_SUCCESS); in eap_teap_build_crypto_binding() 649 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding() 651 result->length = host_to_be16(2); in eap_teap_build_crypto_binding() 652 result->status = host_to_be16(TEAP_STATUS_SUCCESS); in eap_teap_build_crypto_binding() 657 cb->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding() 659 cb->length = host_to_be16(sizeof(*cb) - sizeof(struct teap_tlv_hdr)); in eap_teap_build_crypto_binding() 805 pac_tlv->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | TEAP_TLV_PAC); in eap_teap_build_pac() 816 pac_info->type = host_to_be16(PAC_TYPE_PAC_INFO); in eap_teap_build_pac() [all …]
|
D | eap_server_peap.c | 506 hdr->length = host_to_be16(req_len); in eap_peap_build_phase2_term() 1138 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_process_phase2()
|
D | eap_server.c | 1573 resp->length = host_to_be16(sizeof(*resp)); in eap_sm_buildSuccess() 1591 resp->length = host_to_be16(sizeof(*resp)); in eap_sm_buildFailure()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_teap_common.c | 27 hdr.tlv_type = host_to_be16(type); in eap_teap_put_tlv_hdr() 28 hdr.length = host_to_be16(len); in eap_teap_put_tlv_hdr() 667 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_tlv_result() 671 result->length = host_to_be16(2); in eap_teap_tlv_result() 672 result->status = host_to_be16(status); in eap_teap_tlv_result()
|
D | eap_common.c | 144 hdr->length = host_to_be16(len); in eap_msg_alloc() 173 hdr->length = host_to_be16(wpabuf_len(msg)); in eap_update_len()
|
D | eap_fast_common.c | 22 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()
|
D | eap_sim_common.c | 1020 eap->length = host_to_be16(wpabuf_len(msg->buf)); in eap_sim_msg_finish()
|
/external/wpa_supplicant_8/src/utils/ |
D | common.h | 148 #define host_to_be16(n) wpa_swap_16(n) macro 178 #define host_to_be16(n) ((__force be16) bswap_16((n))) macro 191 #define host_to_be16(n) (n) macro
|
/external/wpa_supplicant_8/src/radius/ |
D | radius.c | 383 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish() 387 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish() 413 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish_srv() 456 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish_das_resp() 484 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish_acct() 505 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish_acct_resp()
|
D | radius_server.c | 1259 eapfail.length = host_to_be16(sizeof(eapfail)); in radius_server_reject()
|
/external/wpa_supplicant_8/src/ap/ |
D | eth_p_oui.c | 179 ethhdr->h_proto = host_to_be16(ETH_P_OUI); in eth_p_oui_send()
|
D | preauth_auth.c | 256 ethhdr->h_proto = host_to_be16(ETH_P_PREAUTH); in rsn_preauth_send()
|
D | ieee802_1x.c | 74 xhdr->length = host_to_be16(datalen); in ieee802_1x_send() 228 hdr->length = host_to_be16(len); in ieee802_1x_tx_key_one()
|
D | wpa_auth_glue.c | 726 buf->h_proto = host_to_be16(proto); in hostapd_wpa_auth_send_ether()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ibss_rsn.c | 100 hdr->length = host_to_be16(data_len); in supp_alloc_eapol()
|
D | wpas_glue.c | 75 hdr->length = host_to_be16(data_len); in wpa_alloc_eapol()
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_kay.c | 2454 ether_hdr->ethertype = host_to_be16(ETH_P_EAPOL); in ieee802_1x_kay_encode_mkpdu() 2463 eapol_hdr->length = host_to_be16(wpabuf_tailroom(pbuf)); in ieee802_1x_kay_encode_mkpdu() 3485 kay->actor_sci.port = host_to_be16(port ? port : 0x0001); in ieee802_1x_kay_init()
|
/external/wpa_supplicant_8/src/eapol_auth/ |
D | eapol_auth_sm.c | 95 eap.length = host_to_be16(sizeof(eap)); in eapol_auth_tx_canned_eap()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_atheros.c | 1676 eth->h_proto = host_to_be16(ETH_P_EAPOL); in atheros_send_eapol()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa.c | 128 hdr->length = host_to_be16(eapol_len); in wpa_eapol_key_send()
|