Lines Matching refs:req
24 struct wpabuf *req; member
90 send_len = wpabuf_len(c->req) - c->req_pos; in http_client_tx_ready()
94 (unsigned long) wpabuf_len(c->req), in http_client_tx_ready()
97 res = send(c->sd, wpabuf_head_u8(c->req) + c->req_pos, send_len, 0); in http_client_tx_ready()
109 res, (unsigned long) wpabuf_len(c->req), in http_client_tx_ready()
118 wpabuf_free(c->req); in http_client_tx_ready()
119 c->req = NULL; in http_client_tx_ready()
131 struct wpabuf *req, size_t max_response, in http_client_addr() argument
177 c->req = req; in http_client_addr()
237 struct wpabuf *req, size_t max_response, in http_client_url() argument
254 if (req == NULL) { in http_client_url()
260 req = req_buf; in http_client_url()
261 wpabuf_printf(req, in http_client_url()
274 c = http_client_addr(&dst, req, max_response, cb, cb_ctx); in http_client_url()
289 wpabuf_free(c->req); in http_client_free()