Searched refs:cleanup_socks (Results 1 – 2 of 2) sorted by relevance
232 if (socketpair(AF_UNIX, SOCK_STREAM, 0, info->cleanup_socks) == -1) { in wifi_initialize()364 close(info->cleanup_socks[0]); in internal_cleaned_up_handler()365 close(info->cleanup_socks[1]); in internal_cleaned_up_handler()385 if (TEMP_FAILURE_RETRY(write(info->cleanup_socks[0], "Exit", 4)) < 1) { in wifi_cleanup()395 ssize_t result = TEMP_FAILURE_RETRY(read(info->cleanup_socks[0], buf, sizeof(buf))); in wifi_cleanup()467 pfd[1].fd = info->cleanup_socks[1]; in wifi_event_loop()
184 int cleanup_socks[2]; // sockets used to implement wifi_cleanup member