Searched refs:LNT_MAXBUFSIZE (Results 1 - 2 of 2) sorted by relevance
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOSX/ |
H A D | LegacyNATTraversal.c | 445 if (tcpInfo->nread > LNT_MAXBUFSIZE) 448 tcpInfo->nread = LNT_MAXBUFSIZE; 526 info->replyLen = LNT_MAXBUFSIZE; 527 if (info->Reply != mDNSNULL) mDNSPlatformMemZero(info->Reply, LNT_MAXBUFSIZE); // reuse previously allocated buffer 528 else if ((info->Reply = mDNSPlatformMemAllocate(LNT_MAXBUFSIZE)) == mDNSNULL) { LogInfo("can't allocate reply buffer"); return (mStatus_NoMemoryErr); } 615 if (!info->Request) info->Request = mDNSPlatformMemAllocate(LNT_MAXBUFSIZE); 617 info->requestLen = mDNS_snprintf((char*)info->Request, LNT_MAXBUFSIZE, header, m->UPnPSOAPURL, m->UPnPWANPPPConnection ? "PPP" : "IP", Action, m->UPnPSOAPAddressString, bodyLen, body); 782 if (info->Request != mDNSNULL) mDNSPlatformMemZero(info->Request, LNT_MAXBUFSIZE); // reuse previously allocated buffer 783 else if ((info->Request = mDNSPlatformMemAllocate(LNT_MAXBUFSIZE)) == mDNSNULL) { LogInfo("can't allocate send buffer for discovery"); return (mStatus_NoMemoryErr); } 784 info->requestLen = mDNS_snprintf((char*)info->Request, LNT_MAXBUFSIZE, szSSDPMsgDescribeDeviceFM [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSCore/ |
H A D | mDNSEmbeddedAPI.h | 1228 #define LNT_MAXBUFSIZE 8192 macro
|
Completed in 213 milliseconds