/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_common.c | 40 len = be_to_host16(hdr->length); in eap_hdr_len_valid() 77 len = be_to_host16(hdr->length); in eap_hdr_validate()
|
H A D | eap_teap_common.c | 367 bind_len = sizeof(struct teap_tlv_hdr) + be_to_host16(cb->length); in eap_teap_compound_mac()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | iapp.c | 279 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 D | ieee802_1x.c | 942 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 D | eap_fast.c | 425 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 D | eap_teap.c | 410 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 D | eap_peap.c | 636 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 D | eap_leap.c | 301 be_to_host16(eap->length) > wpabuf_len(reqData)) { in eap_leap_process()
|
H A D | eap_ttls.c | 479 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 D | eap_pwd.c | 272 data->group_num = be_to_host16(id->group_num); in eap_pwd_perform_id_exchange()
|
H A D | eap_sim.c | 1219 len = be_to_host16(req->length); in eap_sim_process()
|
H A D | eap_aka.c | 1492 len = be_to_host16(req->length); in eap_aka_process()
|
/freebsd/contrib/wpa/src/utils/ |
H A D | common.h | 147 #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 D | eapol_supp_sm.c | 723 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 D | eap_server_fast.c | 1112 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 D | eap_server_teap.c | 1233 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 D | eap_server.c | 616 len = be_to_host16(nak->length); in SM_STATE() 1509 plen = be_to_host16(hdr->length); in eap_sm_parseEapResp()
|
H A D | eap_server_pwd.c | 595 if ((data->group_num != be_to_host16(id->group_num)) || in eap_pwd_process_id_resp()
|
H A D | eap_server_ttls.c | 989 len = be_to_host16(hdr->length); in eap_ttls_process_phase2_eap()
|
H A D | eap_server_peap.c | 1173 len = be_to_host16(hdr->length); in eap_peap_process_phase2()
|
/freebsd/contrib/wpa/src/pae/ |
H A D | ieee802_1x_kay.c | 121 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 D | driver_macsec_qca.c | 687 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 D | radius.c | 417 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 D | ibss_rsn.c | 745 plen = be_to_host16(hdr->length); in ibss_rsn_eapol_dst_supp()
|
H A D | eapol_test.c | 835 hdr->code, hdr->identifier, be_to_host16(hdr->length), in ieee802_1x_decapsulate_radius()
|