Searched refs:pipe (Results 1 – 4 of 4) sorted by relevance
/hostap-3.7.0/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 | 1568 commands if client program opens a named pipe and closes it
|
/hostap-3.7.0/src/common/ |
D | wpa_ctrl.c | 78 HANDLE pipe; member 720 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, in wpa_ctrl_open() 729 if (ctrl->pipe != INVALID_HANDLE_VALUE || in wpa_ctrl_open() 734 if (ctrl->pipe == INVALID_HANDLE_VALUE) { in wpa_ctrl_open() 740 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { in wpa_ctrl_open() 741 CloseHandle(ctrl->pipe); in wpa_ctrl_open() 752 CloseHandle(ctrl->pipe); in wpa_ctrl_close() 764 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request() 767 if (!ReadFile(ctrl->pipe, reply, *reply_len, &readlen, NULL)) in wpa_ctrl_request() 778 if (!ReadFile(ctrl->pipe, reply, *reply_len, &len, NULL)) in wpa_ctrl_recv() [all …]
|
/hostap-3.7.0/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()
|