Lines Matching refs:avp_code
230 static u8 * eap_ttls_avp_hdr(u8 *avphdr, u32 avp_code, u32 vendor_id, in eap_ttls_avp_hdr() argument
247 avp->avp_code = host_to_be32(avp_code); in eap_ttls_avp_hdr()
255 static u8 * eap_ttls_avp_add(u8 *start, u8 *avphdr, u32 avp_code, in eap_ttls_avp_add() argument
260 pos = eap_ttls_avp_hdr(avphdr, avp_code, vendor_id, mandatory, len); in eap_ttls_avp_add()
268 static int eap_ttls_avp_encapsulate(struct wpabuf **resp, u32 avp_code, in eap_ttls_avp_encapsulate() argument
282 pos = eap_ttls_avp_hdr(avp, avp_code, 0, mandatory, wpabuf_len(*resp)); in eap_ttls_avp_encapsulate()
972 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_parse_avp() local
977 avp_code = be_to_host32(avp->avp_code); in eap_ttls_parse_avp()
982 "length=%d", (int) avp_code, avp_flags, in eap_ttls_parse_avp()
1015 if (vendor_id == 0 && avp_code == RADIUS_ATTR_EAP_MESSAGE) { in eap_ttls_parse_avp()
1018 } else if (vendor_id == 0 && avp_code == RADIUS_ATTR_REPLY_MESSAGE) { in eap_ttls_parse_avp()
1024 avp_code == RADIUS_ATTR_MS_CHAP2_SUCCESS) { in eap_ttls_parse_avp()
1036 avp_code == RADIUS_ATTR_MS_CHAP_ERROR) { in eap_ttls_parse_avp()
1043 (int) avp_code, (int) vendor_id); in eap_ttls_parse_avp()
1048 (int) avp_code, (int) vendor_id); in eap_ttls_parse_avp()