Lines Matching refs:readfds
1465 mDNSlocal void mDNSPosixAddToFDSet(int *nfds, fd_set *readfds, int s) in mDNSPosixAddToFDSet() argument
1468 FD_SET(s, readfds); in mDNSPosixAddToFDSet()
1471 mDNSexport void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout) in mDNSPosixGetFDSet() argument
1481 if (m->p->unicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket4); in mDNSPosixGetFDSet()
1483 if (m->p->unicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket6); in mDNSPosixGetFDSet()
1487 if (info->multicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket4); in mDNSPosixGetFDSet()
1489 if (info->multicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket6); in mDNSPosixGetFDSet()
1506 mDNSexport void mDNSPosixProcessFDSet(mDNS *const m, fd_set *readfds) in mDNSPosixProcessFDSet() argument
1510 assert(readfds != NULL); in mDNSPosixProcessFDSet()
1513 if (m->p->unicastSocket4 != -1 && FD_ISSET(m->p->unicastSocket4, readfds)) in mDNSPosixProcessFDSet()
1515 FD_CLR(m->p->unicastSocket4, readfds); in mDNSPosixProcessFDSet()
1519 if (m->p->unicastSocket6 != -1 && FD_ISSET(m->p->unicastSocket6, readfds)) in mDNSPosixProcessFDSet()
1521 FD_CLR(m->p->unicastSocket6, readfds); in mDNSPosixProcessFDSet()
1528 if (info->multicastSocket4 != -1 && FD_ISSET(info->multicastSocket4, readfds)) in mDNSPosixProcessFDSet()
1530 FD_CLR(info->multicastSocket4, readfds); in mDNSPosixProcessFDSet()
1534 if (info->multicastSocket6 != -1 && FD_ISSET(info->multicastSocket6, readfds)) in mDNSPosixProcessFDSet()
1536 FD_CLR(info->multicastSocket6, readfds); in mDNSPosixProcessFDSet()