Lines Matching refs:rset
471 fd_set rset, wset, eset; in main() local
473 FD_ZERO(&rset); in main()
480 if ((t.tv_sec = set_dns_listeners(now, &rset, &maxfd)) != 0) { in main()
485 set_android_listeners(&rset, &maxfd); in main()
490 FD_SET(daemon->dhcpfd, &rset); in main()
496 FD_SET(daemon->netlinkfd, &rset); in main()
500 FD_SET(piperead, &rset); in main()
523 if (select(maxfd + 1, &rset, &wset, &eset, tp) < 0) { in main()
525 FD_ZERO(&rset); in main()
543 if (FD_ISSET(piperead, &rset)) async_event(piperead, now); in main()
546 if (FD_ISSET(daemon->netlinkfd, &rset)) netlink_multicast(); in main()
550 check_android_listeners(&rset); in main()
553 check_dns_listeners(&rset, now); in main()
556 if (daemon->dhcp && FD_ISSET(daemon->dhcpfd, &rset)) dhcp_packet(now); in main()
1058 fd_set rset, wset; in icmp_ping() local
1066 FD_ZERO(&rset); in icmp_ping()
1068 FD_SET(fd, &rset); in icmp_ping()
1069 set_dns_listeners(now, &rset, &maxfd); in icmp_ping()
1072 if (select(maxfd + 1, &rset, &wset, NULL, &tv) < 0) { in icmp_ping()
1073 FD_ZERO(&rset); in icmp_ping()
1080 check_dns_listeners(&rset, now); in icmp_ping()
1082 if (FD_ISSET(fd, &rset) && in icmp_ping()