Searched refs:pipe (Results 1 – 4 of 4) sorted by relevance
| /hostap-latest/wpa_supplicant/ |
| D | ctrl_iface_named_pipe.c | 65 HANDLE pipe; member 100 static int ctrl_broken_pipe(HANDLE pipe, int used) in ctrl_broken_pipe() argument 104 if (PeekNamedPipe(pipe, NULL, 0, NULL, NULL, NULL)) in ctrl_broken_pipe() 122 if (ctrl_broken_pipe(dst->pipe, dst->used)) { in ctrl_flush_broken_pipes() 145 dst->pipe = INVALID_HANDLE_VALUE; in ctrl_open_pipe() 167 dst->pipe = CreateNamedPipe(name, in ctrl_open_pipe() 175 if (dst->pipe == INVALID_HANDLE_VALUE) { in ctrl_open_pipe() 181 if (ConnectNamedPipe(dst->pipe, &dst->overlap)) { in ctrl_open_pipe() 184 CloseHandle(dst->pipe); in ctrl_open_pipe() 204 CloseHandle(dst->pipe); in ctrl_open_pipe() [all …]
|
| D | ChangeLog | 1618 commands if client program opens a named pipe and closes it
|
| /hostap-latest/src/common/ |
| D | wpa_ctrl.c | 78 HANDLE pipe; member 730 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, in wpa_ctrl_open() 739 if (ctrl->pipe != INVALID_HANDLE_VALUE || in wpa_ctrl_open() 744 if (ctrl->pipe == INVALID_HANDLE_VALUE) { in wpa_ctrl_open() 750 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { in wpa_ctrl_open() 751 CloseHandle(ctrl->pipe); in wpa_ctrl_open() 762 CloseHandle(ctrl->pipe); in wpa_ctrl_close() 774 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request() 777 if (!ReadFile(ctrl->pipe, reply, *reply_len, &readlen, NULL)) in wpa_ctrl_request() 788 if (!ReadFile(ctrl->pipe, reply, *reply_len, &len, NULL)) in wpa_ctrl_recv() [all …]
|
| /hostap-latest/src/utils/ |
| D | utils_module_tests.c | 676 res = pipe(t->pipefd2); in reopen_pipefd2() 790 res = pipe(t->pipefd1); in eloop_tests_start() 797 res = pipe(t->pipefd2); in eloop_tests_start()
|