Lines Matching refs:in_buf
22 struct wpabuf *in_buf; member
160 wpabuf_free(data->in_buf); in eap_wsc_reset()
304 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont()
310 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont()
313 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont()
324 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) { in eap_wsc_process_fragment()
330 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
332 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment()
333 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
339 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment()
343 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_fragment()
416 if (data->in_buf && in eap_wsc_process()
432 if (data->in_buf == NULL) { in eap_wsc_process()
435 data->in_buf = &tmpbuf; in eap_wsc_process()
438 res = wps_process_msg(data->wps, op_code, data->in_buf); in eap_wsc_process()
461 if (data->in_buf != &tmpbuf) in eap_wsc_process()
462 wpabuf_free(data->in_buf); in eap_wsc_process()
463 data->in_buf = NULL; in eap_wsc_process()