Home
last modified time | relevance | path

Searched refs:be_to_host16 (Results 1 – 25 of 25) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Deap_common.c40 len = be_to_host16(hdr->length); in eap_hdr_len_valid()
77 len = be_to_host16(hdr->length); in eap_hdr_validate()
Deap_teap_common.c367 bind_len = sizeof(struct teap_tlv_hdr) + be_to_host16(cb->length); in eap_teap_compound_mac()
/external/wpa_supplicant_8/src/utils/
Dcommon.h147 #define be_to_host16(n) wpa_swap_16(n) macro
177 #define be_to_host16(n) bswap_16((__force u16) (be16) (n)) macro
190 #define be_to_host16(n) (n) macro
/external/wpa_supplicant_8/src/eap_peer/
Deap_fast.c424 size_t len = be_to_host16(hdr->length); in eap_fast_phase2_request()
593 if (be_to_host16(hdr->length) > eap_payload_tlv_len) { in eap_fast_process_eap_payload_tlv()
896 type = be_to_host16(hdr->type); in eap_fast_process_pac_tlv()
897 len = be_to_host16(hdr->len); in eap_fast_process_pac_tlv()
1020 type = be_to_host16(hdr->type); in eap_fast_process_pac_info()
1021 len = be_to_host16(hdr->len); in eap_fast_process_pac_info()
1378 tlen = be_to_host16(hdr->len); in eap_fast_get_a_id()
1379 if (be_to_host16(hdr->type) == PAC_TYPE_A_ID && in eap_fast_get_a_id()
Deap_teap.c403 size_t len = be_to_host16(hdr->length); in eap_teap_phase2_request()
565 if (be_to_host16(hdr->length) > eap_payload_tlv_len) { in eap_teap_process_eap_payload_tlv()
971 type = be_to_host16(hdr->type); in eap_teap_process_pac_tlv()
972 len = be_to_host16(hdr->len); in eap_teap_process_pac_tlv()
1094 type = be_to_host16(hdr->type); in eap_teap_process_pac_info()
1095 len = be_to_host16(hdr->len); in eap_teap_process_pac_info()
Deap_peap.c602 size_t len = be_to_host16(hdr->length); in eap_peap_phase2_request()
817 be_to_host16(hdr->length) == 5 && in eap_peap_decrypt()
855 len = be_to_host16(hdr->length); in eap_peap_decrypt()
Deap_leap.c301 be_to_host16(eap->length) > wpabuf_len(reqData)) { in eap_leap_process()
Deap_ttls.c454 size_t len = be_to_host16(hdr->length); in eap_ttls_phase2_request_eap()
1142 len = be_to_host16(hdr->length); in eap_ttls_process_phase2_eap()
Deap_pwd.c272 data->group_num = be_to_host16(id->group_num); in eap_pwd_perform_id_exchange()
Deap_sim.c1117 len = be_to_host16(req->length); in eap_sim_process()
Deap_aka.c1394 len = be_to_host16(req->length); in eap_aka_process()
Deap.c1986 plen = be_to_host16(hdr->length); in eap_sm_parseEapReq()
/external/wpa_supplicant_8/src/eapol_supp/
Deapol_supp_sm.c723 plen = be_to_host16(hdr->length); in eapol_sm_processKey()
731 hdr->version, hdr->type, be_to_host16(hdr->length), in eapol_sm_processKey()
778 sm->last_rx_key, sizeof(*hdr) + be_to_host16(hdr->length), in eapol_sm_processKey()
1309 plen = be_to_host16(hdr->length); in eapol_sm_rx_eapol()
1323 elen = be_to_host16(ehdr->length); in eapol_sm_rx_eapol()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_fast.c1122 len = be_to_host16(hdr->length); in eap_fast_process_phase2_eap()
1259 return be_to_host16(tlv->tlv_type) == PAC_TYPE_PAC_TYPE && in eap_fast_pac_type()
1260 be_to_host16(tlv->length) == 2 && in eap_fast_pac_type()
1261 be_to_host16(tlv->pac_type) == type; in eap_fast_pac_type()
Deap_server_teap.c1203 len = be_to_host16(hdr->length); in eap_teap_process_phase2_eap()
1495 return be_to_host16(tlv->type) == PAC_TYPE_PAC_TYPE && in eap_teap_pac_type()
1496 be_to_host16(tlv->length) == 2 && in eap_teap_pac_type()
1497 be_to_host16(tlv->pac_type) == type; in eap_teap_pac_type()
Deap_server.c616 len = be_to_host16(nak->length); in SM_STATE()
1509 plen = be_to_host16(hdr->length); in eap_sm_parseEapResp()
Deap_server_pwd.c584 if ((data->group_num != be_to_host16(id->group_num)) || in eap_pwd_process_id_resp()
Deap_server_ttls.c988 len = be_to_host16(hdr->length); in eap_ttls_process_phase2_eap()
Deap_server_peap.c1155 len = be_to_host16(hdr->length); in eap_peap_process_phase2()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_kay.c121 MAC2STR(sci->addr), be_to_host16(sci->port)); in sci_txt()
2458 be_to_host16(ether_hdr->ethertype)); in ieee802_1x_kay_encode_mkpdu()
2467 be_to_host16(eapol_hdr->length)); in ieee802_1x_kay_encode_mkpdu()
3087 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_sanity_check()
3099 be_to_host16(eapol_hdr->length)); in ieee802_1x_kay_mkpdu_sanity_check()
3102 mka_msg_len = be_to_host16(eapol_hdr->length); in ieee802_1x_kay_mkpdu_sanity_check()
3418 be_to_host16(eapol_hdr->length); in kay_l2_receive()
3423 be_to_host16(eapol_hdr->length)); in kay_l2_receive()
3438 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE || in kay_l2_receive()
/external/wpa_supplicant_8/src/ap/
Dieee802_1x.c874 eap->code, eap->identifier, be_to_host16(eap->length), in handle_eap_response()
907 eap->code, eap->identifier, be_to_host16(eap->length), in handle_eap_initiate()
954 eap_len = be_to_host16(eap->length); in handle_eap()
1069 datalen = be_to_host16(hdr->length); in ieee802_1x_receive()
1474 hdr->code, hdr->identifier, be_to_host16(hdr->length), in ieee802_1x_decapsulate_radius()
2573 be_to_host16(xhdr->length), ack); in ieee802_1x_eapol_tx_status()
/external/wpa_supplicant_8/src/drivers/
Ddriver_macsec_qca.c665 u16 sci_port = be_to_host16(sc->sci.port); in macsec_qca_create_receive_sc()
856 u16 sci_port = be_to_host16(sc->sci.port); in macsec_qca_create_transmit_sc()
/external/wpa_supplicant_8/src/radius/
Dradius.c358 msg->hdr->identifier, be_to_host16(msg->hdr->length)); in radius_msg_dump()
688 msg_len = be_to_host16(hdr->length); in radius_msg_parse()
/external/wpa_supplicant_8/wpa_supplicant/
Dibss_rsn.c744 plen = be_to_host16(hdr->length); in ibss_rsn_eapol_dst_supp()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c126 eapol_len = be_to_host16(hdr->length); in wpa_eapol_key_send()
2500 plen = be_to_host16(hdr->length); in wpa_sm_rx_eapol()