/src/lib/libc/net/ |
send.c | 55 return (sendto(s, msg, len, flags, NULL, 0));
|
/src/sbin/ping/ |
ping_hostops.c | 49 .op_sendto = sendto,
|
prog_ops.h | 73 #define prog_sendto sendto
|
/src/usr.sbin/traceroute/ |
traceroute_hostops.c | 50 .op_sendto = sendto,
|
prog_ops.h | 88 #define prog_sendto sendto
|
/src/tests/net/net/ |
t_udp.c | 14 static const char msg[] = "sendto test"; 49 /* sendto */ 50 e = sendto(s, msg, sizeof(msg), 0, res->ai_addr, res->ai_addrlen); 51 ATF_REQUIRE_MSG(e == sizeof(msg), "sendto(1) AF=%d: %s", family, 54 e = sendto(s, msg, sizeof(msg), 0, res->ai_addr, res->ai_addrlen); 55 ATF_REQUIRE_MSG(e == sizeof(msg), "sendto(2) AF=%d: %s", family,
|
t_pktinfo.c | 93 if (sendto(s, traffic, sizeof(traffic), 0, 95 ERR("sendto");
|
/src/usr.bin/talk/ |
invite.c | 180 if (sendto(ctl_sockt, &msg, sizeof (msg), 0, 186 if (sendto(ctl_sockt, &msg, sizeof (msg), 0,
|
ctl_transact.c | 74 cc = sendto(ctl_sockt, (char *)&tmsg, sizeof (tmsg), 0,
|
/src/games/hunt/hunt/ |
server.c | 221 (void) sendto(contactsock, &wiremsg, sizeof(wiremsg), 0, 235 (void) sendto(contactsock, &wiremsg, sizeof(wiremsg), 0, 257 if (sendto(contactsock, &wiremsg, sizeof(wiremsg), 0, 260 leave(1, "sendto"); 264 if (sendto(contactsock, &wiremsg, sizeof(wiremsg), 0, 266 leave(1, "sendto");
|
/src/usr.sbin/timed/timed/ |
acksend.c | 67 error = sendto(s, msg, sizeof(*msg), 0,
|
/src/libexec/talkd/ |
talkd.c | 139 cc = sendto(sockt, (char *)&response, sizeof (response), 0, 142 syslog(LOG_WARNING, "sendto: %m");
|
/src/sys/compat/linux32/common/ |
linux32_socketcall.c | 78 sc(linux32_sys, sendto),
|
/src/tests/net/sys/ |
t_rfc6056.c | 94 if (sendto(s, hello, sizeof(hello) - 1, 0, 96 err(EXIT_FAILURE, "sendto");
|
/src/tests/usr.sbin/inetd/ |
test_server.c | 145 CHECK(sendto(1, buffer, (size_t)count, 0,
|
/src/libexec/lfs_cleanerd/ |
cleansrv.c | 133 r = sendto(s, &cmd, sizeof(cmd), 0, (struct sockaddr *)&sun, 136 syslog(LOG_DEBUG, "sendto failed: %m");
|
/src/usr.sbin/mopd/common/ |
pf-linux2.c | 289 if (sendto(fd, buf, len, 0, &socklist[fd].sa, sizeof(struct sockaddr)) == len)
|
/src/usr.sbin/rip6query/ |
rip6query.c | 148 if (sendto(s, ripbuf, RIPSIZE(1), 0, (struct sockaddr *)&sin6,
|
/src/usr.bin/tftp/ |
tftp.c | 275 n = sendto(f, dp, (socklen_t)(size + 4), 0, 278 warn("sendto"); 418 if (sendto(f, ackbuf, (socklen_t)size, 0, 422 warn("sendto"); 521 (void) sendto(f, ackbuf, 4, 0, (struct sockaddr *)(void *)&peer, 628 if ((size_t)sendto(f, ackbuf, msglen, 0, peer, (socklen_t)peer->sa_len) != msglen)
|
/src/usr.sbin/bootp/bootpgw/ |
bootpgw.c | 578 if (sendto(s, pktbuf, pktlen, 0, 582 report(LOG_ERR, "sendto: %s", get_network_errmsg()); 645 if (sendto(s, pktbuf, pktlen, 0, 649 report(LOG_ERR, "sendto: %s", get_network_errmsg());
|
/src/libexec/tftpd/ |
tftpd.c | 984 if ((n = sendto(peer, dp, size + 4, 0, (struct sockaddr *)&from, fromlen)) != size + 4) { 1080 if (sendto(peer, ap, acklength, 0, (struct sockaddr *)&from, fromlen) != acklength) { 1140 (void) sendto(peer, ackbuf, 4, 0, (struct sockaddr *)&from, fromlen); 1149 (void) sendto(peer, ackbuf, 4, 0, (struct sockaddr *)&from, fromlen); /* resend final ack */ 1217 if (sendto(peer, buf, msglen, 0, (struct sockaddr *)&from, fromlen) != (ssize_t)msglen)
|
/src/lib/libpthread/ |
pthread_cancelstub.c | 144 __typeof(sendto) _sys_sendto; 664 sendto(int s, const void *msg, size_t len, int flags, function in typeref:typename:ssize_t 816 __strong_alias(_sendto, sendto)
|
/src/sbin/iscsid/ |
iscsid_main.c | 156 i = sendto(sock, &req, sizeof(req), 0, (struct sockaddr *)(void *)&name, 656 ret = sendto(client_sock, rsp, len, 0,
|
/src/regress/sys/compat/ |
uipc_syscalls_43.c | 94 /* UDP connection, test sendto()/recvfrom() */ 120 /* common sendto(2) - not versioned */ 121 if (sendto(s, "fob2", 4, 0, (struct sockaddr *) &sa, sizeof(sa)) < 0) 122 err(1, "sendto");
|
/src/regress/sys/net/frag/ |
ip4_frag_1.c | 147 ret = sendto(s, p, ip->ip_len, 0, 150 err(EXIT_FAILURE, "sendto");
|