Lines Matching refs:replyLen
35 mDNSu16 replyLen;
49 mDNSu8 *lenptr = (mDNSu8 *)&tcpInfo->replyLen;
64 tcpInfo->replyLen = (mDNSu16)((mDNSu16)lenptr[0] << 8 | lenptr[1]);
65 if (tcpInfo->replyLen < sizeof(DNSMessageHeader))
67 LogMsg("ProxyTCPRead: Message length too short (%d bytes)", tcpInfo->replyLen);
71 tcpInfo->reply = mallocL("ProxyTCPInfo", tcpInfo->replyLen);
79 n = mDNSPlatformReadTCP(&tcpInfo->sock, ((char *)tcpInfo->reply) + (tcpInfo->nread - 2), tcpInfo->replyLen - (tcpInfo->nread - 2), &closed);
87 if ((tcpInfo->nread - 2) != tcpInfo->replyLen)
114 debugf("ProxyTCPReceive: Not yet read completely Actual length %d, Read length %d", ti->replyLen, ti->nread);
150 LogInfo("ProxyTCPReceive received IPv4 packet(len %d) from %#-15a to %#-15a on skt %d %s", ti->replyLen, &senderAddr, &destAddr, s1, NULL);
163 LogInfo("ProxyTCPReceive received IPv6 packet(len %d) from %#-15a to %#-15a on skt %d %s", ti->replyLen, &senderAddr, &destAddr, s1, NULL);
175 kq->m->p->TCPProxyCallback(kq->m, sock, ti->reply, (mDNSu8 *)ti->reply + ti->replyLen, &senderAddr, senderPort, &destAddr,