Home
last modified time | relevance | path

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

/freebsd-src/contrib/wpa/src/eap_server/
H A 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 in eap_ttls_avp_parse()
[all...]
/freebsd-src/contrib/wpa/src/eap_common/
H A Deap_ttls.h13 be32 avp_code; member
21 be32 avp_code; member
/freebsd-src/contrib/wpa/src/eap_peer/
H A Deap_ttls.c230 static u8 * eap_ttls_avp_hdr(u8 *avphdr, u32 avp_code, u32 vendor_id, in eap_ttls_avp_add() argument
247 avp->avp_code = host_to_be32(avp_code); in eap_ttls_avp_encapsulate()
255 static u8 * eap_ttls_avp_add(u8 *start, u8 *avphdr, u32 avp_code, in eap_ttls_avp_encapsulate()
260 pos = eap_ttls_avp_hdr(avphdr, avp_code, vendor_id, mandatory, len); in eap_ttls_avp_encapsulate()
268 static int eap_ttls_avp_encapsulate(struct wpabuf **resp, u32 avp_code, in eap_ttls_v0_derive_key()
282 pos = eap_ttls_avp_hdr(avp, avp_code, 0, mandatory, wpabuf_len(*resp)); in eap_ttls_v0_derive_key()
972 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_parse_avp()
977 avp_code = be_to_host32(avp->avp_code); in eap_ttls_parse_avp()
205 eap_ttls_avp_hdr(u8 * avphdr,u32 avp_code,u32 vendor_id,int mandatory,size_t len) eap_ttls_avp_hdr() argument
243 eap_ttls_avp_encapsulate(struct wpabuf ** resp,u32 avp_code,int mandatory) eap_ttls_avp_encapsulate() argument
947 u32 avp_code, avp_length, vendor_id = 0; eap_ttls_parse_avp() local
[all...]