Lines Matching refs:reply_len
261 char *reply, size_t *reply_len, in wpa_ctrl_request() argument
308 res = recv(ctrl->s, reply, *reply_len, 0); in wpa_ctrl_request()
319 if ((size_t) res == *reply_len) in wpa_ctrl_request()
320 res = (*reply_len) - 1; in wpa_ctrl_request()
326 *reply_len = res; in wpa_ctrl_request()
367 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) in wpa_ctrl_recv() argument
371 res = recv(ctrl->s, reply, *reply_len, 0); in wpa_ctrl_recv()
374 *reply_len = res; in wpa_ctrl_recv()
472 char *reply, size_t *reply_len, in wpa_ctrl_request() argument
476 DWORD readlen = *reply_len; in wpa_ctrl_request()
481 if (!ReadFile(ctrl->pipe, reply, *reply_len, &readlen, NULL)) in wpa_ctrl_request()
483 *reply_len = readlen; in wpa_ctrl_request()
489 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) in wpa_ctrl_recv() argument
491 DWORD len = *reply_len; in wpa_ctrl_recv()
492 if (!ReadFile(ctrl->pipe, reply, *reply_len, &len, NULL)) in wpa_ctrl_recv()
494 *reply_len = len; in wpa_ctrl_recv()