Searched refs:sendto (Results 51 - 75 of 112) sorted by relevance

12345

/freebsd-12-stable/contrib/amd/amd/
H A Drpc_fwd.c292 * The sendto may fail if, for example, the route
329 if (sendto(fwd_sock, (char *) pkt, len, 0,
/freebsd-12-stable/lib/libc/include/
H A Dnamespace.h232 #define sendto _sendto macro
H A Dun-namespace.h213 #undef sendto macro
/freebsd-12-stable/lib/libc/sys/
H A DMakefile.inc79 sendto \
467 send.2 sendto.2
/freebsd-12-stable/lib/libnetgraph/
H A Dsock.c293 if (sendto(ds, buf, len, 0, (struct sockaddr *) sg, sg->sg_len) < 0) {
296 NGLOG("sendto(%s)", sg->sg_data);
H A Dmsg.c224 if (sendto(cs, msg, sizeof(*msg) + arglen,
228 NGLOG("sendto(%s)", sg->sg_data);
/freebsd-12-stable/usr.sbin/ipfwpcap/
H A Dipfwpcap.c246 * use recvfrom(3 and sendto(3) as in natd(8).
269 r = sendto(sd, buf, nr, 0, (struct sockaddr *)&sin, l);
270 if (debug) fprintf(stderr, " sendto(%d) = %d\n", sd, r);
271 if (r < 0) { perror("sendto(sd)"); quit(13); }
/freebsd-12-stable/usr.sbin/timed/timed/
H A Dmeasure.c152 count = sendto(sock_raw, opacket, sizeof(*oicp), 0,
/freebsd-12-stable/usr.sbin/wpa/ndis_events/
H A Dndis_events.c256 len = sendto(sock, buf, pos - buf, 0, (struct sockaddr *) dst,
/freebsd-12-stable/tools/test/netfibs/
H A Dreflect.c109 m = sendto(s, buf, l, 0, sa, salen);
114 warn("ignored expected: sendto(%s, %zd)", buf, l);
/freebsd-12-stable/contrib/ofed/librdmacm/
H A Dpreload.c73 ssize_t (*sendto)(int socket, const void *buf, size_t len, int flags, member in struct:socket_calls
397 real.sendto = dlsym(RTLD_NEXT, "sendto");
424 rs.sendto = dlsym(RTLD_DEFAULT, "rsendto");
833 ssize_t sendto(int socket, const void *buf, size_t len, int flags, function
839 real.sendto(fd, buf, len, flags, dest_addr, addrlen);
/freebsd-12-stable/contrib/wpa/src/ap/
H A Dfils_hlp.c132 res = sendto(hapd->dhcp_sock, wpabuf_head(sta->hlp_dhcp_discover),
136 wpa_printf(MSG_ERROR, "FILS: DHCP sendto failed: %s",
445 res = sendto(hapd->dhcp_sock, dhcp_msg, len, 0,
448 wpa_printf(MSG_ERROR, "FILS: DHCP sendto failed: %s",
H A Diapp.c201 if (sendto(iapp->udp_sock, buf, (char *) (add + 1) - buf, 0,
203 wpa_printf(MSG_INFO, "sendto[IAPP-ADD]: %s", strerror(errno));
/freebsd-12-stable/contrib/ntp/lib/isc/include/isc/
H A Dsocket.h282 isc_result_t (*sendto)(isc_socket_t *sock, isc_region_t *region, member in struct:isc_socketmethods
/freebsd-12-stable/contrib/tnftp/
H A Dtnftp.h482 #define sendto Rsendto macro
/freebsd-12-stable/cddl/usr.sbin/dwatch/libexec/
H A DMakefile65 LINKS+= ${LIBEXECDIR}/dwatch/sendrecv ${LIBEXECDIR}/dwatch/sendto
/freebsd-12-stable/tools/regression/netinet/msocket/
H A Dmsocket.c402 len = sendto(sock, &message, len, 0, (struct sockaddr *)&sin,
405 err(-1, "test_udp: sendto");
408 errx(-1, "test_udp: sendto: expected to send %d, instead %d",
/freebsd-12-stable/libexec/bootpd/tools/bootptest/
H A Dbootptest.c451 if (sendto(s, sndbuf, snaplen, 0,
455 perror("sendto server");
/freebsd-12-stable/tools/tools/net80211/wesside/dics/
H A Ddics.c284 rd = sendto(s, buf, plen, 0, (struct sockaddr*)&dst, sizeof(dst));
286 perror("sendto()");
/freebsd-12-stable/usr.bin/logger/
H A Dlogger.c361 lsent = sendto(sk[i].sk_sock, line, len, 0,
368 warn("sendto");
370 warnx("sendto: short send - %d bytes", lsent);
/freebsd-12-stable/usr.sbin/ppp/
H A Dudp.c97 ret = sendto(p->fd, v, n, 0, (struct sockaddr *)&dev->sock,
/freebsd-12-stable/tests/sys/audit/
H A Dnetwork.c728 "sendto(2) call");
743 ATF_REQUIRE((data_bytes = sendto(sockfd2, msgbuff,
748 "sendto.*0x%x.*return,success,%zd", sockfd2, data_bytes);
765 "sendto(2) call");
770 snprintf(extregex, sizeof(extregex), "sendto.*%s", invalregex);
773 ATF_REQUIRE_EQ(-1, sendto(-1, NULL, 0, 0, NULL, 0));
799 ATF_REQUIRE(sendto(sockfd2, msgbuff, strlen(msgbuff), 0,
/freebsd-12-stable/contrib/wpa/src/radius/
H A Dradius_das.c497 res = sendto(das->sock, wpabuf_head(rbuf),
501 wpa_printf(MSG_ERROR, "DAS: sendto(to %s:%d): %s",
/freebsd-12-stable/contrib/netbsd-tests/net/mcast/
H A Dmcast.c296 sendto(s, &msg, sizeof(msg), 0, (void *)&ss, slen);
/freebsd-12-stable/contrib/smbfs/lib/smb/
H A Dnbns_rq.c322 if (sendto(s, mtod(mbp->mb_top, char *), mbp->mb_count, 0,

Completed in 4238 milliseconds

12345