Lines Matching refs:readfds
1443 mDNSlocal void mDNSPosixAddToFDSet(int *nfds, fd_set *readfds, int s) in mDNSPosixAddToFDSet() argument
1446 FD_SET(s, readfds); in mDNSPosixAddToFDSet()
1449 mDNSexport void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout) in mDNSPosixGetFDSet() argument
1459 if (m->p->unicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket4); in mDNSPosixGetFDSet()
1461 if (m->p->unicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket6); in mDNSPosixGetFDSet()
1465 if (info->multicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket4); in mDNSPosixGetFDSet()
1467 if (info->multicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket6); in mDNSPosixGetFDSet()
1484 mDNSexport void mDNSPosixProcessFDSet(mDNS *const m, fd_set *readfds) in mDNSPosixProcessFDSet() argument
1488 assert(readfds != NULL); in mDNSPosixProcessFDSet()
1491 if (m->p->unicastSocket4 != -1 && FD_ISSET(m->p->unicastSocket4, readfds)) in mDNSPosixProcessFDSet()
1493 FD_CLR(m->p->unicastSocket4, readfds); in mDNSPosixProcessFDSet()
1497 if (m->p->unicastSocket6 != -1 && FD_ISSET(m->p->unicastSocket6, readfds)) in mDNSPosixProcessFDSet()
1499 FD_CLR(m->p->unicastSocket6, readfds); in mDNSPosixProcessFDSet()
1506 if (info->multicastSocket4 != -1 && FD_ISSET(info->multicastSocket4, readfds)) in mDNSPosixProcessFDSet()
1508 FD_CLR(info->multicastSocket4, readfds); in mDNSPosixProcessFDSet()
1512 if (info->multicastSocket6 != -1 && FD_ISSET(info->multicastSocket6, readfds)) in mDNSPosixProcessFDSet()
1514 FD_CLR(info->multicastSocket6, readfds); in mDNSPosixProcessFDSet()