Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_server/
Deap_server_ttls.c107 static u8 * eap_ttls_avp_hdr(u8 *avphdr, u32 avp_code, u32 vendor_id, in eap_ttls_avp_hdr() argument
124 avp->avp_code = host_to_be32(avp_code); in eap_ttls_avp_hdr()
133 u32 avp_code, int mandatory) in eap_ttls_avp_encapsulate() argument
144 pos = eap_ttls_avp_hdr(wpabuf_mhead(avp), avp_code, 0, mandatory, in eap_ttls_avp_encapsulate()
189 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_avp_parse() local
193 avp_code = be_to_host32(avp->avp_code); in eap_ttls_avp_parse()
198 "length=%d", (int) avp_code, avp_flags, in eap_ttls_avp_parse()
228 if (vendor_id == 0 && avp_code == RADIUS_ATTR_EAP_MESSAGE) { in eap_ttls_avp_parse()
253 avp_code == RADIUS_ATTR_USER_NAME) { in eap_ttls_avp_parse()
259 avp_code == RADIUS_ATTR_USER_PASSWORD) { in eap_ttls_avp_parse()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_ttls.h13 be32 avp_code; member
21 be32 avp_code; member
/external/wpa_supplicant_8/src/eap_peer/
Deap_ttls.c205 static u8 * eap_ttls_avp_hdr(u8 *avphdr, u32 avp_code, u32 vendor_id, in eap_ttls_avp_hdr() argument
222 avp->avp_code = host_to_be32(avp_code); in eap_ttls_avp_hdr()
230 static u8 * eap_ttls_avp_add(u8 *start, u8 *avphdr, u32 avp_code, in eap_ttls_avp_add() argument
235 pos = eap_ttls_avp_hdr(avphdr, avp_code, vendor_id, mandatory, len); in eap_ttls_avp_add()
243 static int eap_ttls_avp_encapsulate(struct wpabuf **resp, u32 avp_code, in eap_ttls_avp_encapsulate() argument
257 pos = eap_ttls_avp_hdr(avp, avp_code, 0, mandatory, wpabuf_len(*resp)); in eap_ttls_avp_encapsulate()
947 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_parse_avp() local
952 avp_code = be_to_host32(avp->avp_code); in eap_ttls_parse_avp()
957 "length=%d", (int) avp_code, avp_flags, in eap_ttls_parse_avp()
990 if (vendor_id == 0 && avp_code == RADIUS_ATTR_EAP_MESSAGE) { in eap_ttls_parse_avp()
[all …]