Home
last modified time | relevance | path

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

123

/linux-6.1.9/tools/testing/selftests/net/
Dsk_bind_sendto_listen.c37 if (sendto(fd1, NULL, 0, MSG_FASTOPEN, (struct sockaddr *)&bind_addr, in main()
59 if (sendto(fd2, NULL, 0, MSG_FASTOPEN, (struct sockaddr *)&bind_addr, in main()
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.c193 ret = sendto(fd, data, 1, MSG_FASTOPEN, daddr, sz); in connect_and_send()
Dnettest.c900 err = sendto(sd, msg, msglen, 0, addr, alen); in send_msg_no_cmsg()
1083 if (sendto(sd, buf, len, 0, in socket_read_dgram()
1175 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-6.1.9/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-6.1.9/Documentation/networking/
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));
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
Dphonet.rst113 sendto(fd, msg, msglen, 0, (struct sockaddr *)&addr, sizeof(addr));
/linux-6.1.9/drivers/rpmsg/
Drpmsg_internal.h68 int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst); member
Drpmsg_core.c187 if (!ept->ops->sendto) in rpmsg_sendto()
190 return ept->ops->sendto(ept, data, len, dst); in rpmsg_sendto()
/linux-6.1.9/tools/perf/examples/bpf/
Daugmented_syscalls.c167 augmented_sockaddr_syscall(sendto);
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c64 if (sendto(fd, &msg, sizeof(msg), 0, (const struct sockaddr *)&dst, in send_packet()
Dnetwork_helpers.c219 ret = sendto(fd, data, data_len, MSG_FASTOPEN, (struct sockaddr *)&addr, in fastopen_connect()
/linux-6.1.9/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst105 **sendmsg4** call to sendto(2), sendmsg(2), sendmmsg(2) for an
107 **sendmsg6** call to sendto(2), sendmsg(2), sendmmsg(2) for an
/linux-6.1.9/samples/bpf/
Dcookie_uid_helper_example.c249 res = sendto(s_send, &message, sizeof(message), 0, in udp_client()
/linux-6.1.9/kernel/
Dsys_ni.c251 COND_SYSCALL(sendto);
/linux-6.1.9/tools/accounting/
Dprocacct.c153 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *) &nladdr, in send_cmd()
Dgetdelays.c146 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *) &nladdr, in send_cmd()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dxdp_bonding.c265 n = sendto(s, buf, sizeof(buf), 0, (struct sockaddr *)&saddr_ll, sizeof(saddr_ll)); in send_udp_packets()

123