Home
last modified time | relevance | path

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

12

/hostap-3.7.0/wlantest/
Dwired.c178 rlen = be_to_host16(hdr->length); in process_radius()
215 sport = be_to_host16(udp->uh_sport); in process_udp()
216 dport = be_to_host16(udp->uh_dport); in process_udp()
217 ulen = be_to_host16(udp->uh_ulen); in process_udp()
250 frag_off = be_to_host16(ip->ip_off); in process_ipv4()
257 ip_len = be_to_host16(ip->ip_len); in process_ipv4()
288 ethertype = be_to_host16(eth->ether_type); in wlantest_process_wired()
Drx_ip.c160 frag_off = be_to_host16(ip.ip_off); in rx_data_ip()
167 ip_len = be_to_host16(ip.ip_len); in rx_data_ip()
/hostap-3.7.0/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()
/hostap-3.7.0/src/utils/
Dcommon.h147 #define be_to_host16(n) wpa_swap_16(n) macro
164 #define be_to_host16(n) sys_be16_to_cpu(n) macro
195 #define be_to_host16(n) bswap_16((__force u16) (be16) (n)) macro
208 #define be_to_host16(n) (n) macro
/hostap-3.7.0/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()
/hostap-3.7.0/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()
/hostap-3.7.0/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()
/hostap-3.7.0/src/pae/
Dieee802_1x_kay.c121 MAC2STR(sci->addr), be_to_host16(sci->port)); in sci_txt()
2466 be_to_host16(ether_hdr->ethertype)); in ieee802_1x_kay_encode_mkpdu()
2475 be_to_host16(eapol_hdr->length)); in ieee802_1x_kay_encode_mkpdu()
3095 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_validity_check()
3107 be_to_host16(eapol_hdr->length)); in ieee802_1x_kay_mkpdu_validity_check()
3110 mka_msg_len = be_to_host16(eapol_hdr->length); in ieee802_1x_kay_mkpdu_validity_check()
3426 be_to_host16(eapol_hdr->length); in kay_l2_receive()
3431 be_to_host16(eapol_hdr->length)); in kay_l2_receive()
3446 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE || in kay_l2_receive()
/hostap-3.7.0/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()
/hostap-3.7.0/src/drivers/
Ddriver_macsec_qca.c687 u16 sci_port = be_to_host16(sc->sci.port); in macsec_qca_create_receive_sc()
878 u16 sci_port = be_to_host16(sc->sci.port); in macsec_qca_create_transmit_sc()
/hostap-3.7.0/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()
/hostap-3.7.0/wpa_supplicant/
Dibss_rsn.c744 plen = be_to_host16(hdr->length); in ibss_rsn_eapol_dst_supp()

12