Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/eap_common/
H A Deap_ttls.h14 be32 avp_length; /* 8-bit flags, 24-bit length; member
22 be32 avp_length; /* 8-bit flags, 24-bit length; member
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_ttls.c953 avp_length = be_to_host32(avp->avp_length); 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()
969 avp_length); in eap_ttls_parse_avp()
1026 return avp_length; in eap_ttls_parse_avp()
1035 int avp_length; in eap_ttls_parse_avps() local
1053 if (avp_length < 0) in eap_ttls_parse_avps()
1057 pos += avp_length + pad; in eap_ttls_parse_avps()
1058 if (left < avp_length + pad) in eap_ttls_parse_avps()
[all …]
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_ttls.c194 avp_length = be_to_host32(avp->avp_length); 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()
212 dlen = avp_length - sizeof(*avp); in eap_ttls_avp_parse()
317 pad = (4 - (avp_length & 3)) & 3; in eap_ttls_avp_parse()
318 pos += avp_length + pad; in eap_ttls_avp_parse()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-l2tp.c838 u_int avp_length; in l2tp_print() local
840 avp_length = l2tp_avp_print(ndo, ptr, length - cnt); in l2tp_print()
841 if (avp_length == 0) { in l2tp_print()
847 cnt += avp_length; in l2tp_print()
848 ptr += avp_length; in l2tp_print()