Lines Matching refs:in
25 struct wpabuf *in; in https_recv() local
30 in = wpabuf_alloc(20000); in https_recv()
31 if (in == NULL) in https_recv()
43 wpabuf_free(in); in https_recv()
49 wpabuf_free(in); in https_recv()
53 len = recv(s, wpabuf_put(in, 0), wpabuf_tailroom(in), 0); in https_recv()
56 wpabuf_free(in); in https_recv()
61 wpabuf_free(in); in https_recv()
65 wpabuf_put(in, len); in https_recv()
67 return in; in https_recv()
76 struct wpabuf *in, *out, *appl; in https_client() local
92 in = NULL; in https_client()
96 out = tls_connection_handshake2(tls, conn, in, &appl, in https_client()
98 wpabuf_free(in); in https_client()
99 in = NULL; in https_client()
121 in = https_recv(s); in https_client()
122 if (in == NULL) in https_client()
132 in = wpabuf_alloc(100 + os_strlen(path)); in https_client()
133 if (in == NULL) in https_client()
135 wpabuf_put_str(in, "GET "); in https_client()
136 wpabuf_put_str(in, path); in https_client()
137 wpabuf_put_str(in, " HTTP/1.0\r\n\r\n"); in https_client()
138 out = tls_connection_encrypt(tls, conn, in); in https_client()
139 wpabuf_free(in); in https_client()
140 in = NULL; in https_client()
156 in = https_recv(s); in https_client()
157 if (in == NULL) in https_client()
159 out = tls_connection_decrypt2(tls, conn, in, &need_more_data); in https_client()
162 wpabuf_free(in); in https_client()
163 in = NULL; in https_client()
175 wpabuf_free(in); in https_client()