Lines Matching refs:rset
502 fd_set rset, wset, eset; in main() local
504 FD_ZERO(&rset); in main()
511 if ((t.tv_sec = set_dns_listeners(now, &rset, &maxfd)) != 0) in main()
517 set_android_listeners(&rset, &maxfd); in main()
523 FD_SET(daemon->dhcpfd, &rset); in main()
529 FD_SET(daemon->netlinkfd, &rset); in main()
533 FD_SET(piperead, &rset); in main()
555 if (select(maxfd+1, &rset, &wset, &eset, tp) < 0) in main()
558 FD_ZERO(&rset); FD_ZERO(&wset); FD_ZERO(&eset); in main()
577 if (FD_ISSET(piperead, &rset)) in main()
581 if (FD_ISSET(daemon->netlinkfd, &rset)) in main()
586 check_android_listeners(&rset); in main()
589 check_dns_listeners(&rset, now); in main()
592 if (daemon->dhcp && FD_ISSET(daemon->dhcpfd, &rset)) in main()
1175 fd_set rset, wset; in icmp_ping() local
1183 FD_ZERO(&rset); in icmp_ping()
1185 FD_SET(fd, &rset); in icmp_ping()
1186 set_dns_listeners(now, &rset, &maxfd); in icmp_ping()
1189 if (select(maxfd+1, &rset, &wset, NULL, &tv) < 0) in icmp_ping()
1191 FD_ZERO(&rset); in icmp_ping()
1198 check_dns_listeners(&rset, now); in icmp_ping()
1200 if (FD_ISSET(fd, &rset) && in icmp_ping()