Searched refs:tcpInfo (Results 1 - 4 of 4) sorted by relevance

/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOSX/
H A DLegacyNATTraversal.c76 // In the event of a port conflict, handleLNTPortMappingResponse then increments tcpInfo->retries and calls back to SendPortMapRequest to try again
79 #define RequestedPortNum(n) (mDNSVal16(mDNSIPPortIsZero((n)->RequestedPort) ? (n)->IntPort : (n)->RequestedPort) + (mDNSu16)(n)->tcpInfo.retries)
195 mDNSlocal void handleLNTDeviceDescriptionResponse(tcpLNTInfo *tcpInfo) argument
197 mDNS *m = tcpInfo->m;
198 const mDNSu8 *ptr = tcpInfo->Reply;
199 const mDNSu8 *end = tcpInfo->Reply + tcpInfo->nread;
224 ptr = tcpInfo->Reply;
270 ptr = tcpInfo->Reply;
300 mDNSlocal void handleLNTGetExternalAddressResponse(tcpLNTInfo *tcpInfo) argument
345 handleLNTPortMappingResponse(tcpLNTInfo *tcpInfo) argument
399 DisposeInfoFromUnmapList(mDNS *m, tcpLNTInfo *tcpInfo) argument
409 tcpLNTInfo *tcpInfo = (tcpLNTInfo *)context; local
[all...]
H A DDNSProxySupport.c42 mDNSlocal int ProxyTCPRead(ProxyTCPInfo_t *tcpInfo) argument
47 if (tcpInfo->nread < 2) // First read the two-byte length preceeding the DNS message
49 mDNSu8 *lenptr = (mDNSu8 *)&tcpInfo->replyLen;
50 n = mDNSPlatformReadTCP(&tcpInfo->sock, lenptr + tcpInfo->nread, 2 - tcpInfo->nread, &closed);
57 tcpInfo->nread += n;
58 if (tcpInfo->nread < 2)
60 LogMsg("ProxyTCPRead: nread %d, n %d", tcpInfo->nread, n);
64 tcpInfo
[all...]
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSCore/
H A DuDNS.c662 if (n->tcpInfo.sock) { mDNSPlatformTCPCloseConnection(n->tcpInfo.sock); n->tcpInfo.sock = mDNSNULL; }
737 if (n->tcpInfo.sock) { mDNSPlatformTCPCloseConnection(n->tcpInfo.sock); n->tcpInfo.sock = mDNSNULL; }
848 mDNSPlatformMemZero(&traversal->tcpInfo, sizeof(traversal->tcpInfo));
1247 tcpInfo_t *tcpInfo = (tcpInfo_t *)context; local
1249 mDNS *m = tcpInfo
[all...]
H A DmDNSEmbeddedAPI.h1274 tcpLNTInfo tcpInfo; // Legacy NAT traversal (UPnP) TCP connection member in struct:NATTraversalInfo_struct

Completed in 204 milliseconds