Home
last modified time | relevance | path

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

123

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ !
Dip_check_defrag.c114 err = sendto(client, frag_0, sizeof(frag_0), 0, saddr_p, saddr_len); in send_frags()
118 err = sendto(client, frag_1, sizeof(frag_1), 0, saddr_p, saddr_len); in send_frags()
122 err = sendto(client, frag_2, sizeof(frag_2), 0, saddr_p, saddr_len); in send_frags()
142 err = sendto(client, frag6_0, sizeof(frag6_0), 0, saddr_p, saddr_len); in send_frags6()
146 err = sendto(client, frag6_1, sizeof(frag6_1), 0, saddr_p, saddr_len); in send_frags6()
150 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()
Ddecap_sanity.c61 err = sendto(sockfd, buf, sizeof(buf), 0, (void *)&addr, addrlen); in test_decap_sanity()
Dassign_reuse.c55 ASSERT_EQ(sendto(fd_sv, buff, sizeof(buff), 0, (void *)&addr, len), 1, "send_server"); in echo_test_udp()
Dvrf_socket_lookup.c220 sendto(fd, msg, sizeof(msg), 0, (void *)&addr, in test_lookup()
/linux-6.6.21/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()
/linux-6.6.21/tools/testing/selftests/netfilter/ !
Dsctp_collision.c67 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()
Daudit_logread.c70 ret = sendto(fd, &msg, msg.nlh.nlmsg_len, 0, in audit_send()
/linux-6.6.21/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.6.21/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
/linux-6.6.21/drivers/rpmsg/ !
Drpmsg_internal.h69 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.6.21/tools/testing/selftests/bpf/ !
Dtest_skb_cgroup_id_user.c64 if (sendto(fd, &msg, sizeof(msg), 0, (const struct sockaddr *)&dst, in send_packet()
Dxdp_features.c242 sendto(sockfd, buf, sizeof(buf), MSG_NOSIGNAL | MSG_CONFIRM, in dut_echo_thread()
566 n = sendto(sockfd, buf, sizeof(*tlv), MSG_NOSIGNAL | MSG_CONFIRM, in send_echo_msg()
/linux-6.6.21/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.6.21/samples/bpf/ !
Dtest_overhead_user.c82 if (sendto(fd, buf, strlen(buf), 0, in test_fib_table_lookup()
Dcookie_uid_helper_example.c249 res = sendto(s_send, &message, sizeof(message), 0, in udp_client()
/linux-6.6.21/kernel/ !
Dsys_ni.c155 COND_SYSCALL(sendto);
/linux-6.6.21/tools/accounting/ !
Dprocacct.c153 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *) &nladdr, in send_cmd()
/linux-6.6.21/tools/testing/selftests/net/af_unix/ !
Dscm_pidfd.c418 …err = sendto(pfd, "x", sizeof(char), 0, (struct sockaddr *)&self->client_addr->listen_addr, self->… in TEST_F()

123