Lines Matching refs:resp
101 struct wpabuf *resp;
104 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PAX,
106 if (resp == NULL)
109 pax = wpabuf_put(resp, sizeof(*pax));
116 return resp;
125 struct wpabuf *resp;
196 resp = eap_pax_alloc_resp(req, id, EAP_PAX_OP_STD_2, plen);
197 if (resp == NULL)
200 wpabuf_put_be16(resp, EAP_PAX_RAND_LEN);
201 wpabuf_put_data(resp, data->rand.r.y, EAP_PAX_RAND_LEN);
205 wpabuf_put_be16(resp, data->cid_len);
206 wpabuf_put_data(resp, data->cid, data->cid_len);
210 wpabuf_put_be16(resp, EAP_PAX_MAC_LEN);
211 rpos = wpabuf_put(resp, EAP_PAX_MAC_LEN);
221 rpos = wpabuf_put(resp, EAP_PAX_ICV_LEN);
223 wpabuf_head(resp), wpabuf_len(resp) - EAP_PAX_ICV_LEN,
232 return resp;
241 struct wpabuf *resp;
306 resp = eap_pax_alloc_resp(req, id, EAP_PAX_OP_ACK, EAP_PAX_ICV_LEN);
307 if (resp == NULL)
312 rpos = wpabuf_put(resp, EAP_PAX_ICV_LEN);
314 wpabuf_head(resp), wpabuf_len(resp) - EAP_PAX_ICV_LEN,
323 return resp;
333 struct wpabuf *resp;
439 resp = eap_pax_process_std_1(data, ret, id, req, flen);
442 resp = eap_pax_process_std_3(data, ret, id, req, flen);
455 return resp;