Lines Matching refs:avp_code
187 static u8 * eap_ttls_avp_hdr(u8 *avphdr, u32 avp_code, u32 vendor_id,
204 avp->avp_code = host_to_be32(avp_code);
211 static u8 * eap_ttls_avp_add(u8 *start, u8 *avphdr, u32 avp_code,
216 pos = eap_ttls_avp_hdr(avphdr, avp_code, vendor_id, mandatory, len);
224 static int eap_ttls_avp_encapsulate(struct wpabuf **resp, u32 avp_code,
238 pos = eap_ttls_avp_hdr(avp, avp_code, 0, mandatory, wpabuf_len(*resp));
1101 u32 avp_code, avp_length, vendor_id = 0;
1106 avp_code = be_to_host32(avp->avp_code);
1111 "length=%d", (int) avp_code, avp_flags,
1144 if (vendor_id == 0 && avp_code == RADIUS_ATTR_EAP_MESSAGE) {
1147 } else if (vendor_id == 0 && avp_code == RADIUS_ATTR_REPLY_MESSAGE) {
1153 avp_code == RADIUS_ATTR_MS_CHAP2_SUCCESS) {
1165 avp_code == RADIUS_ATTR_MS_CHAP_ERROR) {
1172 (int) avp_code, (int) vendor_id);
1177 (int) avp_code, (int) vendor_id);