Home
last modified time | relevance | path

Searched refs:reply_len (Results 1 – 16 of 16) sorted by relevance

/external/wpa_supplicant/wpa_gui/
Dnetworkconfig.ui.h101 size_t reply_len; in addNetwork() local
119 reply_len = sizeof(reply) - 1; in addNetwork()
122 wpagui->ctrlRequest("ADD_NETWORK", reply, &reply_len); in addNetwork()
205 reply_len = sizeof(reply); in addNetwork()
206 wpagui->ctrlRequest(cmd, reply, &reply_len); in addNetwork()
213 wpagui->ctrlRequest("SAVE_CONFIG", reply, &reply_len); in addNetwork()
228 size_t reply_len; in setNetworkParam() local
231 reply_len = sizeof(reply); in setNetworkParam()
232 wpagui->ctrlRequest(cmd, reply, &reply_len); in setNetworkParam()
293 static int key_value_isset(const char *reply, size_t reply_len) in key_value_isset() argument
[all …]
Dscanresults.ui.h39 size_t reply_len; in updateResults() local
44 reply_len = sizeof(reply) - 1; in updateResults()
45 if (wpagui->ctrlRequest("SCAN_RESULTS", reply, &reply_len) < 0) in updateResults()
47 reply[reply_len] = '\0'; in updateResults()
75 size_t reply_len = sizeof(reply); in scanRequest() local
80 wpagui->ctrlRequest("SCAN", reply, &reply_len); in scanRequest()
Duserdatarequest.ui.h60 size_t reply_len = sizeof(reply); in sendReply() local
70 wpagui->ctrlRequest(cmd.ascii(), reply, &reply_len); in sendReply()
Dwpagui.ui.h492 size_t reply_len = sizeof(reply); in disconnect() local
493 ctrlRequest("DISCONNECT", reply, &reply_len); in disconnect()
663 size_t reply_len = sizeof(reply); in connectB() local
664 ctrlRequest("REASSOCIATE", reply, &reply_len); in connectB()
672 size_t reply_len = sizeof(reply); in selectNetwork() local
681 ctrlRequest(cmd.ascii(), reply, &reply_len); in selectNetwork()
/external/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp131 size_t reply_len; in addNetwork() local
150 reply_len = sizeof(reply) - 1; in addNetwork()
153 wpagui->ctrlRequest("ADD_NETWORK", reply, &reply_len); in addNetwork()
241 reply_len = sizeof(reply); in addNetwork()
242 wpagui->ctrlRequest(cmd, reply, &reply_len); in addNetwork()
250 wpagui->ctrlRequest("SAVE_CONFIG", reply, &reply_len); in addNetwork()
266 size_t reply_len; in setNetworkParam() local
269 reply_len = sizeof(reply); in setNetworkParam()
270 wpagui->ctrlRequest(cmd, reply, &reply_len); in setNetworkParam()
332 static int key_value_isset(const char *reply, size_t reply_len) in key_value_isset() argument
[all …]
Dscanresults.cpp64 size_t reply_len; in updateResults() local
69 reply_len = sizeof(reply) - 1; in updateResults()
70 if (wpagui->ctrlRequest("SCAN_RESULTS", reply, &reply_len) < 0) in updateResults()
72 reply[reply_len] = '\0'; in updateResults()
102 size_t reply_len = sizeof(reply); in scanRequest() local
107 wpagui->ctrlRequest("SCAN", reply, &reply_len); in scanRequest()
Duserdatarequest.cpp88 size_t reply_len = sizeof(reply); in sendReply() local
98 wpagui->ctrlRequest(cmd.ascii(), reply, &reply_len); in sendReply()
Dwpagui.cpp538 size_t reply_len = sizeof(reply); in disconnect() local
539 ctrlRequest("DISCONNECT", reply, &reply_len); in disconnect()
710 size_t reply_len = sizeof(reply); in connectB() local
711 ctrlRequest("REASSOCIATE", reply, &reply_len); in connectB()
719 size_t reply_len = sizeof(reply); in selectNetwork() local
728 ctrlRequest(cmd.ascii(), reply, &reply_len); in selectNetwork()
/external/wpa_supplicant/
Dctrl_iface_udp.c134 size_t *reply_len) in wpa_supplicant_ctrl_iface_get_cookie() argument
139 *reply_len = 1; in wpa_supplicant_ctrl_iface_get_cookie()
147 *reply_len = 7 + 2 * COOKIE_LEN; in wpa_supplicant_ctrl_iface_get_cookie()
162 size_t reply_len = 0; in wpa_supplicant_ctrl_iface_receive() local
186 reply = wpa_supplicant_ctrl_iface_get_cookie(priv, &reply_len); in wpa_supplicant_ctrl_iface_receive()
221 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
224 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
228 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
230 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
234 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
[all …]
Dctrl_iface.c1148 int reply_len; in wpa_supplicant_ctrl_iface_process() local
1167 reply_len = 3; in wpa_supplicant_ctrl_iface_process()
1171 reply_len = 5; in wpa_supplicant_ctrl_iface_process()
1173 reply_len = wpa_sm_get_mib(wpa_s->wpa, reply, reply_size); in wpa_supplicant_ctrl_iface_process()
1174 if (reply_len >= 0) { in wpa_supplicant_ctrl_iface_process()
1176 res = eapol_sm_get_mib(wpa_s->eapol, reply + reply_len, in wpa_supplicant_ctrl_iface_process()
1177 reply_size - reply_len); in wpa_supplicant_ctrl_iface_process()
1179 reply_len = -1; in wpa_supplicant_ctrl_iface_process()
1181 reply_len += res; in wpa_supplicant_ctrl_iface_process()
1184 reply_len = wpa_supplicant_ctrl_iface_status( in wpa_supplicant_ctrl_iface_process()
[all …]
Dwpa_ctrl.c258 char *reply, size_t *reply_len, in wpa_ctrl_request() argument
301 res = recv(ctrl->s, reply, *reply_len, 0); in wpa_ctrl_request()
312 if ((size_t) res == *reply_len) in wpa_ctrl_request()
313 res = (*reply_len) - 1; in wpa_ctrl_request()
319 *reply_len = res; in wpa_ctrl_request()
360 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) in wpa_ctrl_recv() argument
364 res = recv(ctrl->s, reply, *reply_len, 0); in wpa_ctrl_recv()
367 *reply_len = res; in wpa_ctrl_recv()
465 char *reply, size_t *reply_len, in wpa_ctrl_request() argument
469 DWORD readlen = *reply_len; in wpa_ctrl_request()
[all …]
Dctrl_iface_unix.c145 size_t reply_len = 0; in wpa_supplicant_ctrl_iface_receive() local
158 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
161 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
165 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
167 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
171 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
173 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
176 &reply_len); in wpa_supplicant_ctrl_iface_receive()
180 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in wpa_supplicant_ctrl_iface_receive()
183 } else if (reply_len == 1) { in wpa_supplicant_ctrl_iface_receive()
[all …]
Dctrl_iface_named_pipe.c289 size_t reply_len = 0, send_len; in wpa_supplicant_ctrl_iface_rx() local
302 reply_len = 2; in wpa_supplicant_ctrl_iface_rx()
306 reply_len = 2; in wpa_supplicant_ctrl_iface_rx()
310 reply_len = 2; in wpa_supplicant_ctrl_iface_rx()
313 &reply_len); in wpa_supplicant_ctrl_iface_rx()
318 send_len = reply_len; in wpa_supplicant_ctrl_iface_rx()
319 } else if (reply_len == 2) { in wpa_supplicant_ctrl_iface_rx()
723 size_t reply_len = 0, send_len; in wpa_supplicant_global_iface_rx() local
732 &reply_len); in wpa_supplicant_global_iface_rx()
735 send_len = reply_len; in wpa_supplicant_global_iface_rx()
[all …]
Dwpa_ctrl.h109 char *reply, size_t *reply_len,
151 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len);
/external/e2fsprogs/misc/
Duuidd.c118 int32_t reply_len = 0; in call_daemon() local
164 ret = read_all(s, (char *) &reply_len, sizeof(reply_len)); in call_daemon()
171 if (reply_len < 0 || reply_len > buflen) { in call_daemon()
177 ret = read_all(s, (char *) buf, reply_len); in call_daemon()
180 if (reply_len >= (int) (16+sizeof(int))) in call_daemon()
204 int32_t reply_len = 0; in server_loop() local
324 reply_len = strlen((char *) reply_buf)+1; in server_loop()
328 reply_len = strlen((char *) reply_buf)+1; in server_loop()
338 reply_len = sizeof(uu); in server_loop()
348 reply_len = sizeof(uu); in server_loop()
[all …]
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c403 int32_t reply_len = 0, expected = 16; in get_uuid_via_daemon() local
445 ret = read_all(s, (char *) &reply_len, sizeof(reply_len)); in get_uuid_via_daemon()
449 if (reply_len != expected) in get_uuid_via_daemon()
452 ret = read_all(s, op_buf, reply_len); in get_uuid_via_daemon()