Lines Matching refs:dnssd_SocketValid
134 #define DNSServiceRefValid(X) (dnssd_SocketValid((X)->sockfd) && (((X)->sockfd ^ (X)->validator) == ValidatorBits))
548 if (!dnssd_SocketValid(sdr->sockfd))
649 if (!dnssd_SocketValid(listenfd)) {
675 if (!dnssd_SocketValid(listenfd)) {
767 if (!dnssd_SocketValid(errsd)) {
792 //if (dnssd_SocketValid(listenfd)) syslog(LOG_WARNING, "Sending fd %d for %s", listenfd, p);
793 if (!dnssd_SocketValid(listenfd) && dnssd_errno != EBUSY)
795 if (dnssd_SocketValid(listenfd) || dnssd_errno != EBUSY) break;
859 if (dnssd_SocketValid(listenfd)) dnssd_close(listenfd);
860 if (dnssd_SocketValid(errsd)) dnssd_close(errsd);
1101 if (!DNSServiceRefValid(sdRef)) // Also verifies dnssd_SocketValid(sdRef->sockfd) for us too