Searched refs:nsent (Results 1 - 6 of 6) sorted by relevance

/netbsd-current/tests/lib/libc/net/
H A Dh_dns_server.c224 ssize_t nrecv, nsent; local
293 nsent = sendto(s, buf, p - buf, 0, &from.s, fromlen);
294 DPRINTF("sent %zd\n", nsent);
295 if (nsent != p - buf)
/netbsd-current/external/mit/libuv/dist/test/
H A Dbenchmark-pump.c64 static int64_t nsent = 0; variable
95 gbit(nsent, STATS_INTERVAL));
123 nsent = 0;
195 nsent += sizeof write_buffer;
/netbsd-current/usr.sbin/mrouted/
H A Dmain.c369 static unsigned int nsent; local
378 int nleft = nroutes - nsent;
385 nsent = 0;
388 while (nsent < ncum) {
391 nsent += n;
/netbsd-current/external/bsd/libpcap/dist/
H A Dsockutils.c1213 ssize_t nsent; local
1233 nsent = remaining;
1242 nsent = send(sock, buffer, remaining, MSG_NOSIGNAL);
1244 nsent = send(sock, buffer, remaining, 0);
1248 if (nsent == -1)
1289 remaining -= nsent;
1290 buffer += nsent;
/netbsd-current/external/mit/libuv/dist/src/unix/
H A Dfs.c799 ssize_t nsent; local
817 * 1. Read errors are reported only if nsent==0, otherwise we return nsent.
839 for (nsent = 0; (size_t) nsent < len; ) {
840 buflen = len - nsent;
856 if (use_pread && nsent == 0 && (errno == EIO || errno == ESPIPE)) {
861 if (nsent == 0)
862 nsent = -1;
878 nsent
[all...]
/netbsd-current/external/apache2/mDNSResponder/dist/mDNSCore/
H A DDNSCommon.c3783 long nsent;
3792 nsent = mDNSPlatformWriteTCP(sock, buf, msglen+2);
3793 if (nsent != (msglen + 2))
3795 LogMsg("mDNSSendDNSMessage: write message failed %d/%d", nsent, msglen);
3802 nsent = mDNSPlatformWriteTCP(sock, (char*)lenbuf, 2);
3803 if (nsent != 2)
3805 LogMsg("mDNSSendDNSMessage: write msg length failed %d/%d", nsent, 2);
3810 nsent = mDNSPlatformWriteTCP(sock, (char *)msg, msglen);
3811 if (nsent != msglen)
3813 LogMsg("mDNSSendDNSMessage: write msg body failed %d/%d", nsent, msgle
[all...]

Completed in 147 milliseconds