Lines Matching refs:resp
831 struct wpabuf *resp;
838 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_EXPANDED,
840 if (resp == NULL)
843 wpabuf_put_be24(resp, EAP_VENDOR_IETF);
844 wpabuf_put_be32(resp, EAP_TYPE_NAK);
854 wpabuf_put_u8(resp, EAP_TYPE_EXPANDED);
855 wpabuf_put_be24(resp, m->vendor);
856 wpabuf_put_be32(resp, m->method);
863 wpabuf_put_u8(resp, EAP_TYPE_EXPANDED);
864 wpabuf_put_be24(resp, EAP_VENDOR_IETF);
865 wpabuf_put_be32(resp, EAP_TYPE_NONE);
868 eap_update_len(resp);
870 return resp;
876 struct wpabuf *resp;
892 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_NAK,
895 if (resp == NULL)
898 start = wpabuf_put(resp, 0);
907 wpabuf_put_u8(resp, EAP_TYPE_EXPANDED);
909 wpabuf_put_u8(resp, m->method);
914 wpabuf_put_u8(resp, EAP_TYPE_NONE);
917 eap_update_len(resp);
919 return resp;
1138 struct wpabuf *resp;
1184 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, identity_len,
1186 if (resp == NULL)
1189 wpabuf_put_data(resp, identity, identity_len);
1191 return resp;
1222 struct wpabuf *resp;
1225 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_NOTIFICATION, 0,
1227 if (resp == NULL)
1230 return resp;
2274 struct wpabuf *resp;
2279 resp = sm->eapRespData;
2282 return resp;