Home
last modified time | relevance | path

Searched refs:sendingsocket (Results 1 – 2 of 2) sorted by relevance

/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c163 int sendingsocket = -1; in mDNSPlatformSendUDP() local
186 sendingsocket = thisIntf ? thisIntf->multicastSocket4 : m->p->unicastSocket4; in mDNSPlatformSendUDP()
200 sendingsocket = thisIntf ? thisIntf->multicastSocket6 : m->p->unicastSocket6; in mDNSPlatformSendUDP()
204 if (sendingsocket >= 0) in mDNSPlatformSendUDP()
205 …err = sendto(sendingsocket, msg, (char*)end - (char*)msg, 0, (struct sockaddr *)&to, GET_SA_LEN(to… in mDNSPlatformSendUDP()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c1533 SOCKET sendingsocket = INVALID_SOCKET; in mDNSPlatformSendUDP() local
1557 sendingsocket = ifd ? ifd->sock.fd : inMDNS->p->unicastSock4.fd; in mDNSPlatformSendUDP()
1559sendingsocket = inSrcSocket->fd; debugf("mDNSPlatformSendUDP using port %d, static port %d, sock %… in mDNSPlatformSendUDP()
1571 sendingsocket = ifd ? ifd->sock.fd : inMDNS->p->unicastSock6.fd; in mDNSPlatformSendUDP()
1580 if (IsValidSocket(sendingsocket)) in mDNSPlatformSendUDP()
1582 n = sendto( sendingsocket, (char *) inMsg, n, 0, (struct sockaddr *) &addr, sizeof( addr ) ); in mDNSPlatformSendUDP()