Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching full:pipe

64 	HANDLE pipe;
405 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE)
434 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0,
437 * Current named pipe server side in wpa_supplicant is
438 * re-opening the pipe for new clients only after the previous
443 if (ctrl->pipe != INVALID_HANDLE_VALUE ||
448 if (ctrl->pipe == INVALID_HANDLE_VALUE) {
454 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) {
455 CloseHandle(ctrl->pipe);
466 CloseHandle(ctrl->pipe);
478 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL))
481 if (!ReadFile(ctrl->pipe, reply, *reply_len, &readlen, NULL))
492 if (!ReadFile(ctrl->pipe, reply, *reply_len, &len, NULL))
503 if (!PeekNamedPipe(ctrl->pipe, NULL, 0, NULL, &left, NULL))
511 return ctrl->pipe;