Lines Matching refs:in
24 struct wpabuf *in; in https_recv() local
29 in = wpabuf_alloc(20000); in https_recv()
30 if (in == NULL) in https_recv()
42 wpabuf_free(in); in https_recv()
48 wpabuf_free(in); in https_recv()
52 len = recv(s, wpabuf_put(in, 0), wpabuf_tailroom(in), 0); in https_recv()
55 wpabuf_free(in); in https_recv()
60 wpabuf_free(in); in https_recv()
64 wpabuf_put(in, len); in https_recv()
66 return in; in https_recv()
82 struct wpabuf *in, *out, *appl; in https_server() local
112 in = https_recv(s, 5000); in https_server()
113 if (!in) in https_server()
117 out = tls_connection_server_handshake(tls, conn, in, &appl); in https_server()
118 wpabuf_free(in); in https_server()
119 in = NULL; in https_server()
152 in = https_recv(s, 5000); in https_server()
153 if (!in) in https_server()
155 out = tls_connection_decrypt2(tls, conn, in, &need_more_data); in https_server()
156 wpabuf_free(in); in https_server()
157 in = NULL; in https_server()
171 in = wpabuf_alloc(1000); in https_server()
172 if (!in) in https_server()
174 wpabuf_put_str(in, "HTTP/1.1 200 OK\r\n" in https_server()
179 wpabuf_head(in), wpabuf_len(in)); in https_server()
180 out = tls_connection_encrypt(tls, conn, in); in https_server()
181 wpabuf_free(in); in https_server()
182 in = NULL; in https_server()
199 wpabuf_free(in); in https_server()