Home
last modified time | relevance | path

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

/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.c125 avp->avp_length = host_to_be32(((u32) flags << 24) | in eap_ttls_avp_hdr()
189 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_avp_parse() local
194 avp_length = be_to_host32(avp->avp_length); in eap_ttls_avp_parse()
195 avp_flags = (avp_length >> 24) & 0xff; in eap_ttls_avp_parse()
196 avp_length &= 0xffffff; in eap_ttls_avp_parse()
199 (int) avp_length); in eap_ttls_avp_parse()
200 if ((int) avp_length > left) { in eap_ttls_avp_parse()
203 (int) avp_length, left); in eap_ttls_avp_parse()
206 if (avp_length < sizeof(*avp)) { in eap_ttls_avp_parse()
208 "%d", avp_length); in eap_ttls_avp_parse()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_ttls.c223 avp->avp_length = host_to_be32(((u32) flags << 24) | in eap_ttls_avp_hdr()
947 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_parse_avp() local
953 avp_length = be_to_host32(avp->avp_length); in eap_ttls_parse_avp()
954 avp_flags = (avp_length >> 24) & 0xff; in eap_ttls_parse_avp()
955 avp_length &= 0xffffff; in eap_ttls_parse_avp()
958 (int) avp_length); in eap_ttls_parse_avp()
960 if (avp_length > left) { in eap_ttls_parse_avp()
963 (int) avp_length, (unsigned long) left); in eap_ttls_parse_avp()
967 if (avp_length < sizeof(*avp)) { in eap_ttls_parse_avp()
969 avp_length); in eap_ttls_parse_avp()
[all …]