Searched refs:cmd_len (Results 1 – 4 of 4) sorted by relevance
/hostap-latest/src/common/ |
D | wpa_ctrl.c | 489 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument 504 _cmd_len = os_strlen(ctrl->cookie) + 1 + cmd_len; in wpa_ctrl_request() 513 os_memcpy(pos, cmd, cmd_len); in wpa_ctrl_request() 518 _cmd_len = cmd_len; in wpa_ctrl_request() 767 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument 774 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request()
|
D | wpa_ctrl.h | 590 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len,
|
/hostap-latest/wpa_supplicant/ |
D | wpa_priv.c | 642 size_t cmd_len; in wpa_priv_receive() local 663 cmd_len = res - sizeof(int); in wpa_priv_receive() 673 wpa_priv_cmd_scan(iface, cmd_buf, cmd_len); in wpa_priv_receive() 679 wpa_priv_cmd_associate(iface, cmd_buf, cmd_len); in wpa_priv_receive() 688 wpa_priv_cmd_set_key(iface, cmd_buf, cmd_len); in wpa_priv_receive() 695 cmd_buf, cmd_len); in wpa_priv_receive() 704 wpa_priv_cmd_l2_send(iface, &from, fromlen, cmd_buf, cmd_len); in wpa_priv_receive() 708 if (pos + cmd_len >= buf + sizeof(buf)) in wpa_priv_receive() 710 pos[cmd_len] = '\0'; in wpa_priv_receive() 714 wpa_priv_cmd_authenticate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
|
/hostap-latest/wlantest/ |
D | wlantest_cli.c | 106 static int cmd_send_and_recv(int s, const u8 *cmd, size_t cmd_len, in cmd_send_and_recv() argument 112 if (send(s, cmd, cmd_len, 0) < 0) in cmd_send_and_recv()
|