Lines Matching refs:eap
66 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_response() argument
75 data = (u8 *) (eap + 1); in handle_eap_response()
77 if (len < sizeof(*eap) + 1) { in handle_eap_response()
87 sm->eap_if->eapRespData = wpabuf_alloc_copy(eap, len); in handle_eap_response()
95 struct eap_hdr *eap; in handle_eap() local
98 if (len < sizeof(*eap)) { in handle_eap()
103 eap = (struct eap_hdr *) buf; in handle_eap()
105 eap_len = be_to_host16(eap->length); in handle_eap()
107 eap->code, eap->identifier, in handle_eap()
109 if (eap_len < sizeof(*eap)) { in handle_eap()
122 switch (eap->code) { in handle_eap()
124 handle_eap_response(hapd, sta, eap, eap_len); in handle_eap()
255 eap_server_clear_identity(sta->eapol_sm->eap); in ieee802_1x_receive()
306 identity = eap_get_identity(sm->eap, &identity_len); in ieee802_1x_eapol_send()