Home
last modified time | relevance | path

Searched refs:avp_length (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Deap_ttls.c166 avp->avp_length = host_to_be32((flags << 24) | (u32) (hdrlen + len)); in eap_ttls_avp_hdr()
821 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_parse_avp() local
827 avp_length = be_to_host32(avp->avp_length); in eap_ttls_parse_avp()
828 avp_flags = (avp_length >> 24) & 0xff; in eap_ttls_parse_avp()
829 avp_length &= 0xffffff; in eap_ttls_parse_avp()
832 (int) avp_length); in eap_ttls_parse_avp()
834 if (avp_length > left) { in eap_ttls_parse_avp()
837 (int) avp_length, (unsigned long) left); in eap_ttls_parse_avp()
841 if (avp_length < sizeof(*avp)) { in eap_ttls_parse_avp()
843 avp_length); in eap_ttls_parse_avp()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Deap_ttls.h20 be32 avp_length; /* 8-bit flags, 24-bit length; member
28 be32 avp_length; /* 8-bit flags, 24-bit length; member
/external/wpa_supplicant_8/src/eap_common/
Deap_ttls.h14 be32 avp_length; /* 8-bit flags, 24-bit length; member
22 be32 avp_length; /* 8-bit flags, 24-bit length; member
/external/wpa_supplicant_8/src/eap_server/
Deap_server_ttls.c95 avp->avp_length = host_to_be32(((u32) flags << 24) | in eap_ttls_avp_hdr()
159 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_avp_parse() local
164 avp_length = be_to_host32(avp->avp_length); in eap_ttls_avp_parse()
165 avp_flags = (avp_length >> 24) & 0xff; in eap_ttls_avp_parse()
166 avp_length &= 0xffffff; in eap_ttls_avp_parse()
169 (int) avp_length); in eap_ttls_avp_parse()
170 if ((int) avp_length > left) { in eap_ttls_avp_parse()
173 (int) avp_length, left); in eap_ttls_avp_parse()
176 if (avp_length < sizeof(*avp)) { in eap_ttls_avp_parse()
178 "%d", avp_length); in eap_ttls_avp_parse()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_ttls.c205 avp->avp_length = host_to_be32((flags << 24) | (hdrlen + len)); in eap_ttls_avp_hdr()
1098 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_parse_avp() local
1104 avp_length = be_to_host32(avp->avp_length); in eap_ttls_parse_avp()
1105 avp_flags = (avp_length >> 24) & 0xff; in eap_ttls_parse_avp()
1106 avp_length &= 0xffffff; in eap_ttls_parse_avp()
1109 (int) avp_length); in eap_ttls_parse_avp()
1111 if (avp_length > left) { in eap_ttls_parse_avp()
1114 (int) avp_length, (unsigned long) left); in eap_ttls_parse_avp()
1118 if (avp_length < sizeof(*avp)) { in eap_ttls_parse_avp()
1120 avp_length); in eap_ttls_parse_avp()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_ttls.c114 avp->avp_length = host_to_be32((flags << 24) | (hdrlen + len)); in eap_ttls_avp_hdr()
177 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_avp_parse() local
182 avp_length = be_to_host32(avp->avp_length); in eap_ttls_avp_parse()
183 avp_flags = (avp_length >> 24) & 0xff; in eap_ttls_avp_parse()
184 avp_length &= 0xffffff; in eap_ttls_avp_parse()
187 (int) avp_length); in eap_ttls_avp_parse()
188 if ((int) avp_length > left) { in eap_ttls_avp_parse()
191 (int) avp_length, left); in eap_ttls_avp_parse()
194 if (avp_length < sizeof(*avp)) { in eap_ttls_avp_parse()
196 "%d", avp_length); in eap_ttls_avp_parse()
[all …]