Searched refs:cleanup_socks (Results 1 – 2 of 2) sorted by relevance
276 if (socketpair(AF_UNIX, SOCK_STREAM, 0, halInfo->cleanup_socks) == -1) { in wifi_pre_initialize()483 close(info->cleanup_socks[0]); in internal_cleaned_up_handler()484 close(info->cleanup_socks[1]); in internal_cleaned_up_handler()542 if (TEMP_FAILURE_RETRY(write(info->cleanup_socks[0], "Exit", 4)) < 1) { in wifi_cleanup()552 ssize_t result = TEMP_FAILURE_RETRY(read(info->cleanup_socks[0], buf, sizeof(buf))); in wifi_cleanup()641 pfd[1].fd = info->cleanup_socks[1]; in wifi_event_loop()
249 int cleanup_socks[2]; // sockets used to implement wifi_cleanup member