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

1234

/external/wpa_supplicant/
H A Deap_psk.c96 be_to_host16(hdr1->length) < sizeof(*hdr1) ||
97 be_to_host16(hdr1->length) > reqDataLen) {
101 be_to_host16(hdr1->length),
117 data->id_s_len = be_to_host16(hdr1->length) - sizeof(*hdr1);
192 left = be_to_host16(hdr3->length);
197 be_to_host16(hdr3->length),
H A Dcommon.h77 #define be_to_host16(n) wpa_swap_16(n) macro
100 #define be_to_host16(n) bswap_16(n) macro
112 #define be_to_host16(n) (n) macro
H A Deap_tlv.c116 left = be_to_host16(hdr->length) - sizeof(struct eap_hdr) - 1;
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
H A Deap_common.c51 len = be_to_host16(hdr->length);
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_common.c51 len = be_to_host16(hdr->length);
/external/wpa_supplicant_8/src/eap_common/
H A Deap_common.c51 len = be_to_host16(hdr->length);
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_common.c51 len = be_to_host16(hdr->length);
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Deap_peap.c618 size_t len = be_to_host16(hdr->length);
811 be_to_host16(hdr->length) == 5 &&
852 if ((be_to_host16(tlv->tlv_type) & 0x3fff) !=
858 if (sizeof(*tlv) + be_to_host16(tlv->length) >
866 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) {
873 nmsg = wpabuf_alloc(be_to_host16(hdr->length));
879 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length));
892 len = be_to_host16(hdr->length);
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_peap.c618 size_t len = be_to_host16(hdr->length);
811 be_to_host16(hdr->length) == 5 &&
852 if ((be_to_host16(tlv->tlv_type) & 0x3fff) !=
858 if (sizeof(*tlv) + be_to_host16(tlv->length) >
866 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) {
873 nmsg = wpabuf_alloc(be_to_host16(hdr->length));
879 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length));
892 len = be_to_host16(hdr->length);
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_peap.c618 size_t len = be_to_host16(hdr->length);
811 be_to_host16(hdr->length) == 5 &&
852 if ((be_to_host16(tlv->tlv_type) & 0x3fff) !=
858 if (sizeof(*tlv) + be_to_host16(tlv->length) >
866 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) {
873 nmsg = wpabuf_alloc(be_to_host16(hdr->length));
879 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length));
892 len = be_to_host16(hdr->length);
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_peap.c618 size_t len = be_to_host16(hdr->length);
811 be_to_host16(hdr->length) == 5 &&
852 if ((be_to_host16(tlv->tlv_type) & 0x3fff) !=
858 if (sizeof(*tlv) + be_to_host16(tlv->length) >
866 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) {
873 nmsg = wpabuf_alloc(be_to_host16(hdr->length));
879 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length));
892 len = be_to_host16(hdr->length);
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
H A Dcommon.h186 #define be_to_host16(n) wpa_swap_16(n) macro
214 #define be_to_host16(n) bswap_16((__force u16) (be16) (n)) macro
227 #define be_to_host16(n) (n) macro
/external/wpa_supplicant_8/hostapd/src/ap/
H A Diapp.c296 be_to_host16(add->seq_num),
352 hlen = be_to_host16(hdr->length);
357 be_to_host16(hdr->identifier), hlen);
H A Dpeerkey_auth.c364 mui = be_to_host16(error.mui);
365 error_type = be_to_host16(error.error_type);
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dcommon.h186 #define be_to_host16(n) wpa_swap_16(n) macro
214 #define be_to_host16(n) bswap_16((__force u16) (be16) (n)) macro
227 #define be_to_host16(n) (n) macro
/external/wpa_supplicant_8/src/ap/
H A Diapp.c296 be_to_host16(add->seq_num),
352 hlen = be_to_host16(hdr->length);
357 be_to_host16(hdr->identifier), hlen);
H A Dpeerkey_auth.c364 mui = be_to_host16(error.mui);
365 error_type = be_to_host16(error.error_type);
/external/wpa_supplicant_8/src/utils/
H A Dcommon.h186 #define be_to_host16(n) wpa_swap_16(n) macro
214 #define be_to_host16(n) bswap_16((__force u16) (be16) (n)) macro
227 #define be_to_host16(n) (n) macro
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Diapp.c296 be_to_host16(add->seq_num),
352 hlen = be_to_host16(hdr->length);
357 be_to_host16(hdr->identifier), hlen);
H A Dpeerkey_auth.c364 mui = be_to_host16(error.mui);
365 error_type = be_to_host16(error.error_type);
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dcommon.h186 #define be_to_host16(n) wpa_swap_16(n) macro
214 #define be_to_host16(n) bswap_16((__force u16) (be16) (n)) macro
227 #define be_to_host16(n) (n) macro
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
H A Deap_peap.c1120 if ((be_to_host16(tlv->tlv_type) & EAP_TLV_TYPE_MASK) !=
1126 if (sizeof(*tlv) + be_to_host16(tlv->length) >
1134 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) {
1141 nmsg = wpabuf_alloc(be_to_host16(hdr->length));
1147 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length));
1161 len = be_to_host16(hdr->length);
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_peap.c1097 if ((be_to_host16(tlv->tlv_type) & EAP_TLV_TYPE_MASK) !=
1103 if (sizeof(*tlv) + be_to_host16(tlv->length) >
1111 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) {
1118 nmsg = wpabuf_alloc(be_to_host16(hdr->length));
1124 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length));
1138 len = be_to_host16(hdr->length);
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_peap.c1097 if ((be_to_host16(tlv->tlv_type) & EAP_TLV_TYPE_MASK) !=
1103 if (sizeof(*tlv) + be_to_host16(tlv->length) >
1111 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) {
1118 nmsg = wpabuf_alloc(be_to_host16(hdr->length));
1124 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length));
1138 len = be_to_host16(hdr->length);
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_peap.c1097 if ((be_to_host16(tlv->tlv_type) & EAP_TLV_TYPE_MASK) !=
1103 if (sizeof(*tlv) + be_to_host16(tlv->length) >
1111 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) {
1118 nmsg = wpabuf_alloc(be_to_host16(hdr->length));
1124 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length));
1138 len = be_to_host16(hdr->length);

Completed in 310 milliseconds

1234