Home
last modified time | relevance | path

Searched refs:sendto (Results 1 – 25 of 63) sorted by relevance

123

/Linux-v5.15/Documentation/networking/
Dmctp.rst123 ``sendto()``, ``sendmsg()``, ``send()`` : transmit an MCTP message
126 An MCTP message is transmitted using one of the ``sendto()``, ``sendmsg()`` or
127 ``send()`` syscalls. Using ``sendto()`` as the primary example:
146 len = sendto(sd, buf, sizeof(buf), 0,
157 message buffer passed to ``sendto()``. If a message integrity check is to be
Dj1939.rst187 socket or use ``send(2)``, ``sendto(2)``, ``sendmsg(2)`` and the ``recv*()`` counterpart
196 to ``bind(2)``, ``connect(2)``, ``sendto(2)`` and ``recvfrom(2)``. A ``write(2)`` with size 4 will
245 remote address from ``connect(2)``. Use ``sendto(2)`` to overwrite the destination
307 ``send(2)``, ``sendto(2)`` and ``sendmsg(2)`` take a 'flags' argument. Currently
399 /* Afterwards do a sendto(2) with data set to the NAME (Little Endian). If the
403 sendto(sock, dat, sizeof(dat), 0, (const struct sockaddr *)&saddr, sizeof(saddr));
445 at this point we can use only ``sendto(2)`` or ``sendmsg(2)``.
460 sendto(sock, dat, sizeof(dat), 0, (const struct sockaddr *)&saddr, sizeof(saddr));
Dphonet.rst113 sendto(fd, msg, msglen, 0, (struct sockaddr *)&addr, sizeof(addr));
/Linux-v5.15/arch/um/drivers/
Dmconsole_user.c156 n = sendto(req->originating_fd, &reply, len, 0, in mconsole_reply_len()
211 n = sendto(notify_sock, &packet, len, 0, (struct sockaddr *) &target, in mconsole_notify()
Dnet_user.c155 CATCH_EINTR(n = sendto(fd, buf, len, 0, (struct sockaddr *) to, in net_sendto()
/Linux-v5.15/drivers/rpmsg/
Drpmsg_internal.h65 int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst); member
Drpmsg_core.c184 if (!ept->ops->sendto) in rpmsg_sendto()
187 return ept->ops->sendto(ept, data, len, dst); in rpmsg_sendto()
/Linux-v5.15/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst96 **sendmsg4** call to sendto(2), sendmsg(2), sendmmsg(2) for an
98 **sendmsg6** call to sendto(2), sendmsg(2), sendmmsg(2) for an
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c65 if (sendto(fd, &msg, sizeof(msg), 0, (const struct sockaddr *)&dst, in send_packet()
Dnetwork_helpers.c195 ret = sendto(fd, data, data_len, MSG_FASTOPEN, (struct sockaddr *)&addr, in fastopen_connect()
/Linux-v5.15/tools/perf/examples/bpf/
Daugmented_syscalls.c167 augmented_sockaddr_syscall(sendto);
/Linux-v5.15/tools/testing/selftests/net/
Dtxring_overwrite.c135 ret = sendto(fdt, NULL, 0, 0, NULL, 0); in send_pkt()
Dip_defrag.c194 res = sendto(fd_raw, ip_frame, frag_len, 0, addr, alen); in send_fragment()
315 res = sendto(fd_raw, ip_frame, frag_len, 0, addr, alen); in send_udp_frags()
Dpsock_snd.c207 ret = sendto(fd, buf, len, 0, (void *)&laddr, sizeof(laddr)); in do_send()
Dtcp_fastopen_backup_key.c195 ret = sendto(fd, data, 1, MSG_FASTOPEN, daddr, sz); in connect_and_send()
Dnettest.c873 err = sendto(sd, msg, msglen, 0, addr, alen); in send_msg_no_cmsg()
1051 if (sendto(sd, buf, len, 0, in socket_read_dgram()
1143 err = sendto(sd, buf, len, 0, addr, alen); in stdin_to_socket()
Dtimestamping.c141 res = sendto(sock, sync_p, sync_len, 0, addr, addr_len); in sendpacket()
Dudpgso.c422 ret = sendto(fd, data, off, 0, (void *)&nladdr, sizeof(nladdr)); in set_route_mtu()
Dudpgso_bench_tx.c283 ret = sendto(fd, data, len, cfg_zerocopy ? MSG_ZEROCOPY : 0, in send_udp()
/Linux-v5.15/samples/bpf/
Dcookie_uid_helper_example.c245 res = sendto(s_send, &message, sizeof(message), 0, in udp_client()
Dxsk_fwd.c615 sendto(xsk_socket__fd(p->xsk), NULL, 0, MSG_DONTWAIT, in port_tx_burst()
626 sendto(xsk_socket__fd(p->xsk), NULL, 0, MSG_DONTWAIT, NULL, 0); in port_tx_burst()
/Linux-v5.15/kernel/
Dsys_ni.c250 COND_SYSCALL(sendto);
/Linux-v5.15/tools/accounting/
Dgetdelays.c147 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *) &nladdr, in send_cmd()
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dxdp_bonding.c261 n = sendto(s, buf, sizeof(buf), 0, (struct sockaddr *)&saddr_ll, sizeof(saddr_ll)); in send_udp_packets()
/Linux-v5.15/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl53 43 n64 sendto sys_sendto

123