Lines Matching refs:pull_buf
38 u8 *push_buf, *pull_buf, *pull_buf_offset;
80 if (conn->pull_buf == NULL) {
85 end = conn->pull_buf + conn->pull_buf_len;
91 wpa_printf(MSG_DEBUG, "%s - pull_buf consumed", __func__);
92 os_free(conn->pull_buf);
93 conn->pull_buf = conn->pull_buf_offset = NULL;
96 wpa_printf(MSG_DEBUG, "%s - %lu bytes remaining in pull_buf",
370 os_free(conn->pull_buf);
460 if (conn->pull_buf) {
462 "pull_buf", __func__,
464 os_free(conn->pull_buf);
466 conn->pull_buf = os_malloc(wpabuf_len(in_data));
467 if (conn->pull_buf == NULL)
469 os_memcpy(conn->pull_buf, wpabuf_head(in_data),
471 conn->pull_buf_offset = conn->pull_buf;
537 if (conn->pull_buf) {
539 "pull_buf", __func__,
541 os_free(conn->pull_buf);
543 conn->pull_buf = os_malloc(wpabuf_len(in_data));
544 if (conn->pull_buf == NULL)
546 os_memcpy(conn->pull_buf, wpabuf_head(in_data), wpabuf_len(in_data));
547 conn->pull_buf_offset = conn->pull_buf;