Lines Matching refs:resp
91 struct wpabuf *resp;
113 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, plen,
115 if (resp == NULL)
118 wpabuf_put_u8(resp, flags); /* Flags */
120 wpabuf_put_be32(resp, wpabuf_len(data->out_buf));
122 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
144 return resp;
206 struct wpabuf *resp;
354 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, 1,
356 if (resp == NULL)
359 wpabuf_put_u8(resp, EAP_TNC_VERSION);
362 return resp;
379 resp = wpabuf_alloc(rlen);
380 if (resp == NULL) {
386 wpabuf_put_data(resp, start_buf, start_len);
389 rpos1 = wpabuf_put(resp, 0);
391 wpabuf_put(resp, rpos - rpos1);
393 wpabuf_put_data(resp, end_buf, end_len);
397 wpabuf_head(resp), wpabuf_len(resp));
399 data->out_buf = resp;