Searched refs:udpsd (Results 1 – 2 of 2) sorted by relevance
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.h | 127 int udpsd; // listening UDP socket for dns requests member
|
D | dnsextd.c | 1182 self->udpsd = socket( AF_INET, SOCK_DGRAM, 0 ); in SetupSockets() 1183 …require_action( dnssd_SocketValid(self->udpsd), exit, err = mStatus_UnknownErr; LogErr( "SetupSock… in SetupSockets() 1186 err = setsockopt(self->udpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets() 1190 err = bind( self->udpsd, ( struct sockaddr* ) &self->addr, sizeof( self->addr ) ); in SetupSockets() 1203 self->llq_udpsd = self->udpsd; in SetupSockets() 2312 …res = sendto( d->udpsd, &pkt->msg, pkt->len, 0, ( struct sockaddr* ) &pkt->src, sizeof( pkt->src )… in RecvNotify() 2854 if ( d->udpsd + 1 > staticMaxFD ) staticMaxFD = d->udpsd + 1; in Run() 2886 FD_SET( d->udpsd, &rset ); in Run() 2913 close( d->udpsd ); in Run() 2917 d->tcpsd = d->udpsd = d->tlssd = d->llq_tcpsd = d->llq_udpsd = -1; in Run() [all …]
|