/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | ip_check_defrag.c | 116 err = sendto(client, frag_0, sizeof(frag_0), 0, saddr_p, saddr_len); in send_frags() 120 err = sendto(client, frag_1, sizeof(frag_1), 0, saddr_p, saddr_len); in send_frags() 124 err = sendto(client, frag_2, sizeof(frag_2), 0, saddr_p, saddr_len); in send_frags() 144 err = sendto(client, frag6_0, sizeof(frag6_0), 0, saddr_p, saddr_len); in send_frags6() 148 err = sendto(client, frag6_1, sizeof(frag6_1), 0, saddr_p, saddr_len); in send_frags6() 152 err = sendto(client, frag6_2, sizeof(frag6_2), 0, saddr_p, saddr_len); in send_frags6() 257 len = sendto(srv_fd, buf, len, 0, (struct sockaddr *)&caddr, caddr_len); in test_bpf_ip_check_defrag_ok()
|
D | crypto_sanity.c | 150 err = sendto(sockfd, plain_text, sizeof(plain_text), 0, (void *)&addr, addrlen); in test_crypto_sanity() 175 err = sendto(sockfd, afalg_dst, sizeof(afalg_dst), 0, (void *)&addr, addrlen); in test_crypto_sanity()
|
D | decap_sanity.c | 60 err = sendto(sockfd, buf, sizeof(buf), 0, (void *)&addr, addrlen); in test_decap_sanity()
|
D | cgroup_ancestor.c | 43 n = sendto(sock, buf, sizeof(buf), 0, (const struct sockaddr *)&addr, in send_datagram()
|
D | xdp_flowtable.c | 50 n = sendto(sock, buf, sizeof(buf), MSG_NOSIGNAL | MSG_CONFIRM, in send_udp_traffic()
|
D | xdp_metadata.c | 213 ret = sendto(xsk_socket__fd(xsk->socket), NULL, 0, MSG_DONTWAIT, NULL, 0); in generate_packet() 236 err = sendto(sock_fd, udp_payload, UDP_PAYLOAD_BYTES, MSG_DONTWAIT, in generate_packet_inet()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | sk_bind_sendto_listen.c | 37 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()
|
D | ip_defrag.c | 194 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()
|
D | txring_overwrite.c | 135 ret = sendto(fdt, NULL, 0, 0, NULL, 0); in send_pkt()
|
/linux-6.12.1/tools/testing/selftests/net/netfilter/ |
D | conntrack_reverse_clash.c | 96 if (sendto(s1, buf, LEN, 0, (struct sockaddr *)&sa2, sizeof(sa2)) != LEN) in main() 105 if (sendto(s2, buf, LEN, 0, (struct sockaddr *)&sa1, sizeof(sa1)) != LEN) in main()
|
D | sctp_collision.c | 67 ret = sendto(sd, buf, strlen(buf) + 1, 0, (struct sockaddr *)&daddr, len); in main() 83 ret = sendto(sd, buf, strlen(buf) + 1, 0, (struct sockaddr *)&daddr, len); in main()
|
D | audit_logread.c | 70 ret = sendto(fd, &msg, msg.nlh.nlmsg_len, 0, in audit_send()
|
/linux-6.12.1/tools/testing/selftests/net/packetdrill/ |
D | tcp_zerocopy_fastopen-client.pkt | 17 …+0 sendto(3, ..., 500, MSG_FASTOPEN|MSG_ZEROCOPY, ..., ...) = -1 EINPROGRESS (Operation now in pro… 38 +0 sendto(5, ..., 500, MSG_FASTOPEN|MSG_ZEROCOPY, ..., ...) = 500
|
D | tcp_zerocopy_fastopen-server.pkt | 25 +0 sendto(4, ..., 1000, MSG_ZEROCOPY, ..., ...) = 1000
|
/linux-6.12.1/Documentation/networking/ |
D | j1939.rst | 187 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));
|
D | mctp.rst | 123 ``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
|
/linux-6.12.1/arch/um/drivers/ |
D | mconsole_user.c | 158 n = sendto(req->originating_fd, &reply, len, 0, in mconsole_reply_len() 213 n = sendto(notify_sock, &packet, len, 0, (struct sockaddr *) &target, in mconsole_notify()
|
D | net_user.c | 155 CATCH_EINTR(n = sendto(fd, buf, len, 0, (struct sockaddr *) to, in net_sendto()
|
/linux-6.12.1/tools/bpf/bpftool/Documentation/ |
D | bpftool-cgroup.rst | 107 …- **sendmsg4** call to sendto(2), sendmsg(2), sendmmsg(2) for an unconnected udp4 socket (since 4.… 108 …- **sendmsg6** call to sendto(2), sendmsg(2), sendmmsg(2) for an unconnected udp6 socket (since 4.… 109 …- **sendmsg_unix** call to sendto(2), sendmsg(2), sendmmsg(2) for an unconnected unix socket (sinc…
|
/linux-6.12.1/tools/testing/selftests/landlock/ |
D | scoped_abstract_unix_test.c | 741 err = sendto(dgram_pathname_socket, "c", 1, 0, in TEST_F() 769 err = sendto(dgram_abstract_socket, "f", 1, 0, in TEST_F() 916 ASSERT_EQ(1, sendto(client_unconn_socket, ".", 1, 0, in TEST() 930 ASSERT_EQ(-1, sendto(client_unconn_socket, ".", 1, 0, in TEST() 1015 ASSERT_EQ(-1, sendto(connected_socket, ".", 1, 0, in TEST() 1020 ASSERT_EQ(-1, sendto(non_connected_socket, ".", 1, 0, in TEST()
|
/linux-6.12.1/drivers/rpmsg/ |
D | rpmsg_internal.h | 69 int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst); member
|
D | rpmsg_core.c | 189 if (!ept->ops->sendto) in rpmsg_sendto() 192 return ept->ops->sendto(ept, data, len, dst); in rpmsg_sendto()
|
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/ |
D | icmps-accept.c | 220 bytes = sendto(sk, &packet, sizeof(packet), 0, in icmp_interfere4() 334 bytes = sendto(sk, &packet, sizeof(packet), 0, in icmp6_interfere()
|
D | icmps-discard.c | 220 bytes = sendto(sk, &packet, sizeof(packet), 0, in icmp_interfere4() 334 bytes = sendto(sk, &packet, sizeof(packet), 0, in icmp6_interfere()
|
/linux-6.12.1/samples/bpf/ |
D | test_overhead_user.c | 82 if (sendto(fd, buf, strlen(buf), 0, in test_fib_table_lookup()
|