Home
last modified time | relevance | path

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

12

/freebsd/contrib/wpa/src/eap_common/
H A 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()
H A Deap_teap_common.c367 bind_len = sizeof(struct teap_tlv_hdr) + be_to_host16(cb->length); in eap_teap_compound_mac()
/freebsd/contrib/wpa/src/ap/
H A Diapp.c279 be_to_host16(add->seq_num), in iapp_process_add_notify()
336 hlen = be_to_host16(hdr->length); in iapp_receive_udp()
341 be_to_host16(hdr->identifier), hlen); in iapp_receive_udp()
H A Dieee802_1x.c942 eap->code, eap->identifier, be_to_host16(eap->length), in handle_eap_response()
975 eap->code, eap->identifier, be_to_host16(eap->length), in handle_eap_initiate()
1022 eap_len = be_to_host16(eap->length); in handle_eap()
1156 datalen = be_to_host16(hdr->length); in ieee802_1x_receive()
1567 hdr->code, hdr->identifier, be_to_host16(hdr->length), in ieee802_1x_decapsulate_radius()
2709 be_to_host16(xhdr->length), ack); in ieee802_1x_eapol_tx_status()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_fast.c425 size_t len = be_to_host16(hdr->length); in eap_fast_phase2_request()
594 if (be_to_host16(hdr->length) > eap_payload_tlv_len) { in eap_fast_process_eap_payload_tlv()
886 type = be_to_host16(hdr->type); in eap_fast_process_pac_tlv()
887 len = be_to_host16(hdr->len); in eap_fast_process_pac_tlv()
1010 type = be_to_host16(hdr->type); in eap_fast_process_pac_info()
1011 len = be_to_host16(hdr->len); in eap_fast_process_pac_info()
1368 tlen = be_to_host16(hdr->len); in eap_fast_get_a_id()
1369 if (be_to_host16(hdr->type) == PAC_TYPE_A_ID && in eap_fast_get_a_id()
H A Deap_teap.c410 size_t len = be_to_host16(hdr->length); in eap_teap_phase2_request()
572 if (be_to_host16(hdr->length) > eap_payload_tlv_len) { in eap_teap_process_eap_payload_tlv()
978 type = be_to_host16(hdr->type); in eap_teap_process_pac_tlv()
979 len = be_to_host16(hdr->len); in eap_teap_process_pac_tlv()
1101 type = be_to_host16(hdr->type); in eap_teap_process_pac_info()
1102 len = be_to_host16(hdr->len); in eap_teap_process_pac_info()
H A Deap_peap.c636 size_t len = be_to_host16(hdr->length); in eap_peap_phase2_request()
851 be_to_host16(hdr->length) == 5 && in eap_peap_decrypt()
889 len = be_to_host16(hdr->length); in eap_peap_decrypt()
H A Deap_leap.c301 be_to_host16(eap->length) > wpabuf_len(reqData)) { in eap_leap_process()
H A Deap_ttls.c479 size_t len = be_to_host16(hdr->length); in eap_ttls_phase2_request_eap()
1167 len = be_to_host16(hdr->length); in eap_ttls_process_phase2_eap()
H A Deap_pwd.c272 data->group_num = be_to_host16(id->group_num); in eap_pwd_perform_id_exchange()
H A Deap_sim.c1219 len = be_to_host16(req->length); in eap_sim_process()
H A Deap_aka.c1492 len = be_to_host16(req->length); in eap_aka_process()
/freebsd/contrib/wpa/src/utils/
H A 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
/freebsd/contrib/wpa/src/eapol_supp/
H A 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()
1318 plen = be_to_host16(hdr->length); in eapol_sm_rx_eapol()
1332 elen = be_to_host16(ehdr->length); in eapol_sm_rx_eapol()
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_fast.c1112 len = be_to_host16(hdr->length); in eap_fast_process_phase2_eap()
1249 return be_to_host16(tlv->tlv_type) == PAC_TYPE_PAC_TYPE && in eap_fast_pac_type()
1250 be_to_host16(tlv->length) == 2 && in eap_fast_pac_type()
1251 be_to_host16(tlv->pac_type) == type; in eap_fast_pac_type()
H A Deap_server_teap.c1233 len = be_to_host16(hdr->length); in eap_teap_process_phase2_eap()
1525 return be_to_host16(tlv->type) == PAC_TYPE_PAC_TYPE && in eap_teap_pac_type()
1526 be_to_host16(tlv->length) == 2 && in eap_teap_pac_type()
1527 be_to_host16(tlv->pac_type) == type; in eap_teap_pac_type()
H A Deap_server.c616 len = be_to_host16(nak->length); in SM_STATE()
1509 plen = be_to_host16(hdr->length); in eap_sm_parseEapResp()
H A Deap_server_pwd.c595 if ((data->group_num != be_to_host16(id->group_num)) || in eap_pwd_process_id_resp()
H A Deap_server_ttls.c989 len = be_to_host16(hdr->length); in eap_ttls_process_phase2_eap()
H A Deap_server_peap.c1173 len = be_to_host16(hdr->length); in eap_peap_process_phase2()
/freebsd/contrib/wpa/src/pae/
H A Dieee802_1x_kay.c121 MAC2STR(sci->addr), be_to_host16(sci->port)); in sci_txt()
2478 be_to_host16(ether_hdr->ethertype)); in ieee802_1x_kay_encode_mkpdu()
2487 be_to_host16(eapol_hdr->length)); in ieee802_1x_kay_encode_mkpdu()
3125 be_to_host16(eth_hdr->ethertype)); in ieee802_1x_kay_mkpdu_validity_check()
3137 be_to_host16(eapol_hdr->length)); in ieee802_1x_kay_mkpdu_validity_check()
3140 mka_msg_len = be_to_host16(eapol_hdr->length); in ieee802_1x_kay_mkpdu_validity_check()
3456 be_to_host16(eapol_hdr->length); in kay_l2_receive()
3461 be_to_host16(eapol_hdr->length)); in kay_l2_receive()
3476 if (be_to_host16(eth_hdr->ethertype) != ETH_P_PAE || in kay_l2_receive()
/freebsd/contrib/wpa/src/drivers/
H A 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()
/freebsd/contrib/wpa/src/radius/
H A Dradius.c417 msg->hdr->identifier, be_to_host16(msg->hdr->length)); in radius_msg_dump()
831 msg_len = be_to_host16(hdr->length); in radius_msg_parse()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dibss_rsn.c745 plen = be_to_host16(hdr->length); in ibss_rsn_eapol_dst_supp()
H A Deapol_test.c835 hdr->code, hdr->identifier, be_to_host16(hdr->length), in ieee802_1x_decapsulate_radius()

12