Searched refs:pull_buf (Results 1 – 2 of 2) sorted by relevance
56 struct wpabuf *pull_buf; member159 if (conn->pull_buf == NULL) { in tls_pull_func()164 end = wpabuf_head_u8(conn->pull_buf) + wpabuf_len(conn->pull_buf); in tls_pull_func()171 wpabuf_free(conn->pull_buf); in tls_pull_func()172 conn->pull_buf = NULL; in tls_pull_func()285 wpabuf_free(conn->pull_buf); in tls_connection_deinit()1425 ad = wpabuf_alloc((wpabuf_len(conn->pull_buf) + 500) * 3); in gnutls_get_appl_data()1460 if (conn->pull_buf) { in tls_connection_handshake()1463 (unsigned long) wpabuf_len(conn->pull_buf)); in tls_connection_handshake()1464 wpabuf_free(conn->pull_buf); in tls_connection_handshake()[all …]
200 struct wpabuf *pull_buf; member483 wpabuf_free(conn->pull_buf); in tls_connection_deinit()595 return tls_wpabuf_resize_put_data(&conn->pull_buf, wpabuf_head(in_data), wpabuf_len(in_data)); in tls_pull_buf_append()601 wpabuf_free(conn->pull_buf); in tls_pull_buf_reset()602 conn->pull_buf = NULL; in tls_pull_buf_reset()608 size_t discard = wpabuf_len(conn->pull_buf) - conn->pull_buf_offset; in tls_pull_buf_discard()617 if (conn->pull_buf == NULL) in tls_pull_func()619 const size_t dlen = wpabuf_len(conn->pull_buf) - conn->pull_buf_offset; in tls_pull_func()625 os_memcpy(buf, (u8 *)wpabuf_head(conn->pull_buf) + conn->pull_buf_offset, len); in tls_pull_func()2206 if (conn->pull_buf && 0) /* disable; appears unwise */ in tls_connection_handshake()[all …]