Searched refs:sendto (Results 1 - 25 of 112) sorted by relevance

12345

/freebsd-12-stable/lib/libc/sys/
H A Dsendto.c43 #pragma weak sendto macro
45 sendto(int s, const void *msg, size_t len, int flags, function
H A Dinterposing_table.c61 SLOT(sendto, __sys_sendto),
/freebsd-12-stable/usr.sbin/timed/timed/
H A Dacksend.c56 if (sendto(sock, (char *)&msg, sizeof(struct tsp), 0,
102 if (sendto(sock, (char *)message, sizeof(struct tsp),
H A Dcandidate.c82 if (sendto(sock, (char *)&msg, sizeof(struct tsp), 0,
/freebsd-12-stable/tools/regression/netinet/arphold/
H A Darphold.c116 if (sendto(sock, message, sizeof(message), 0,
143 if (sendto(sock, message, sizeof(message), 0,
/freebsd-12-stable/crypto/heimdal/lib/roken/
H A Dsocket_wrapper.h104 #ifdef sendto
105 #undef sendto macro
107 #define sendto(s,buf,len,flags,to,tolen) swrap_sendto(s,buf,len,flags,to,tolen) macro
H A Dsendmsg.c61 ret = sendto (s, buf, tot, flags, msg->msg_name, msg->msg_namelen);
/freebsd-12-stable/contrib/netbsd-tests/net/net/
H A Dt_udp.c14 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,
/freebsd-12-stable/usr.bin/talk/
H A Dinvite.c188 if (sendto(ctl_sockt, &msg, sizeof (msg), 0,
194 if (sendto(ctl_sockt, &msg, sizeof (msg), 0,
H A Dctl_transact.c74 cc = sendto(ctl_sockt, (char *)&lmsg, sizeof (lmsg), 0,
/freebsd-12-stable/contrib/ipfilter/ipsend/
H A Dsockraw.c82 if (sendto(fd, pkt, len, 0, &sin, sizeof(sin)) == -1)
H A Darp.c111 (void) sendto(fd, ip, 4, 0,
/freebsd-12-stable/tools/regression/sockets/pr_atomic/
H A Dpr_atomic.c83 if (sendto(conn, buf, sizeof(buf), 0, (struct sockaddr *)&un,
85 errx(-1,"sendto");
/freebsd-12-stable/usr.sbin/ngctl/
H A Dwrite.c112 if (sendto(dsock, buf, len,
/freebsd-12-stable/libexec/tftpd/
H A Dtftp-io.c113 if (sendto(peer, pkt, size, 0, (struct sockaddr *)&peer_sock,
171 if (sendto(peer, buf, length, 0,
215 n = sendto(peer, buf, size, 0,
265 n = sendto(peer, buf, size, 0,
312 if (sendto(peer, buf, size, 0,
342 if (sendto(fp, buf, size, 0,
/freebsd-12-stable/tools/regression/sockets/unix_sendtorace/
H A Dunix_sendtorace.c31 * connect-and-send properties of sendto(). As the result of such a race is
34 * XXX: Despite implementing support for sendto() on stream sockets with
86 len = sendto(fd, &c, sizeof(c), 0, (struct sockaddr *)&sun,
89 warn("stream_client: sendto");
162 len = sendto(fd, &c, sizeof(c), 0, (struct sockaddr *)&sun,
165 warn("datagram_client: sendto");
/freebsd-12-stable/libexec/talkd/
H A Dtalkd.c122 cc = sendto(STDIN_FILENO, (char *)&response,
125 syslog(LOG_WARNING, "sendto: %m");
/freebsd-12-stable/usr.sbin/timed/timedc/
H A Dcmds.c99 if (sendto(sock, &sec, sizeof(sec), 0,
101 warn("sendto(sock)");
305 if (sendto(sock, &msg, sizeof(struct tsp), 0,
308 warn("sendto");
406 if (sendto(sock, &msg, sizeof(struct tsp), 0,
409 warn("sendto");
460 if (sendto(sock, &msg, sizeof(struct tsp), 0,
462 warn("sendto");
/freebsd-12-stable/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_udp.c331 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
335 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
338 sendto(sock, "OK\n", 3, 0, (struct sockaddr *) &from,
546 if (sendto(sock, sbuf, llen + len, 0,
550 "sendto(CTRL_IFACE monitor): %s",
687 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
691 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
694 sendto(sock, "OK\n", 3, 0, (struct sockaddr *) &from,
/freebsd-12-stable/contrib/netbsd-tests/net/sys/
H A Dt_rfc6056.c94 if (sendto(s, hello, sizeof(hello) - 1, 0,
96 err(EXIT_FAILURE, "sendto");
/freebsd-12-stable/contrib/ntp/include/
H A Dl_stdlib.h75 extern int sendto (int, char *, int, int, struct sockaddr *, int);
/freebsd-12-stable/tests/sys/netinet/
H A Dudp_dontroute.c117 ret = sendto(s, sendbuf, strlen(sendbuf), 0, (struct sockaddr*)&dst,
120 err(EXIT_FAILURE, "sendto");
/freebsd-12-stable/sbin/natd/
H A Dicmp.c114 wrote = sendto (sock,
/freebsd-12-stable/tools/tools/net80211/wesside/udps/
H A Dudps.c87 if( sendto(s, buf, 6, 0, (struct sockaddr *)s_in, sizeof(*s_in)) != 6) {
/freebsd-12-stable/sys/kern/
H A Dcapabilities.conf590 sendto

Completed in 375 milliseconds

12345