Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A DPlatformCommon.c720 long nsent; in mDNSPosixWriteTCP() local
727 nsent = 0; in mDNSPosixWriteTCP()
731 LogMsg("ERROR: mDNSPosixWriteTCP - send %s", strerror(errno)); nsent = -1; in mDNSPosixWriteTCP()
736 nsent = (long)result; in mDNSPosixWriteTCP()
738 return nsent; in mDNSPosixWriteTCP()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DDNSCommon.c3634 long nsent; in mDNSSendDNSMessage() local
3643 nsent = mDNSPlatformWriteTCP(tcpSrc, buf, msglen+2); in mDNSSendDNSMessage()
3644 if (nsent != (msglen + 2)) in mDNSSendDNSMessage()
3646 LogMsg("mDNSSendDNSMessage: write message failed %d/%d", nsent, msglen); in mDNSSendDNSMessage()
3653 nsent = mDNSPlatformWriteTCP(tcpSrc, (char*)lenbuf, 2); in mDNSSendDNSMessage()
3654 if (nsent != 2) in mDNSSendDNSMessage()
3656 LogMsg("mDNSSendDNSMessage: write msg length failed %d/%d", nsent, 2); in mDNSSendDNSMessage()
3661 nsent = mDNSPlatformWriteTCP(tcpSrc, (char *)msg, msglen); in mDNSSendDNSMessage()
3662 if (nsent != msglen) in mDNSSendDNSMessage()
3664 LogMsg("mDNSSendDNSMessage: write msg body failed %d/%d", nsent, msglen); in mDNSSendDNSMessage()