Searched refs:tcpsd (Results 1 – 2 of 2) sorted by relevance
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.h | 126 int tcpsd; // listening TCP socket for dns requests member
|
D | dnsextd.c | 1168 self->tcpsd = socket( AF_INET, SOCK_STREAM, 0 ); in SetupSockets() 1169 …require_action( dnssd_SocketValid(self->tcpsd), exit, err = mStatus_UnknownErr; LogErr( "SetupSock… in SetupSockets() 1172 err = setsockopt(self->tcpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets() 1176 err = bind( self->tcpsd, ( struct sockaddr* ) &self->addr, sizeof( self->addr ) ); in SetupSockets() 1179 err = listen( self->tcpsd, LISTENQ ); in SetupSockets() 1202 self->llq_tcpsd = self->tcpsd; in SetupSockets() 2853 if ( d->tcpsd + 1 > staticMaxFD ) staticMaxFD = d->tcpsd + 1; in Run() 2885 FD_SET( d->tcpsd, &rset ); in Run() 2912 close( d->tcpsd ); in Run() 2917 d->tcpsd = d->udpsd = d->tlssd = d->llq_tcpsd = d->llq_udpsd = -1; in Run() [all …]
|