Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/wpa_supplicant/src/eap_peer/
Deap_ttls.c147 struct ttls_avp_vendor *avp; in eap_ttls_avp_hdr() local
151 avp = (struct ttls_avp_vendor *) avphdr; in eap_ttls_avp_hdr()
155 hdrlen = sizeof(*avp); in eap_ttls_avp_hdr()
156 avp->vendor_id = host_to_be32(vendor_id); in eap_ttls_avp_hdr()
161 avp->avp_code = host_to_be32(avp_code); in eap_ttls_avp_hdr()
162 avp->avp_length = host_to_be32((flags << 24) | (u32) (hdrlen + len)); in eap_ttls_avp_hdr()
185 u8 *avp, *pos; in eap_ttls_avp_encapsulate() local
194 avp = wpabuf_mhead(msg); in eap_ttls_avp_encapsulate()
195 pos = eap_ttls_avp_hdr(avp, avp_code, 0, mandatory, wpabuf_len(*resp)); in eap_ttls_avp_encapsulate()
198 AVP_PAD(avp, pos); in eap_ttls_avp_encapsulate()
[all …]