Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/tools/testing/selftests/net/
A 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()
A Dtxring_overwrite.c135 ret = sendto(fdt, NULL, 0, 0, NULL, 0); in send_pkt()
A 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()
A Dpsock_snd.c207 ret = sendto(fd, buf, len, 0, (void *)&laddr, sizeof(laddr)); in do_send()
A Dtcp_fastopen_backup_key.c193 ret = sendto(fd, data, 1, MSG_FASTOPEN, daddr, sz); in connect_and_send()
A Dnettest.c931 err = sendto(sd, msg, msglen, 0, addr, alen); in send_msg_no_cmsg()
1114 if (sendto(sd, buf, len, 0, in socket_read_dgram()
1206 err = sendto(sd, buf, len, 0, addr, alen); in stdin_to_socket()
A Dtimestamping.c141 res = sendto(sock, sync_p, sync_len, 0, addr, addr_len); in sendpacket()
/linux-6.3-rc2/arch/um/drivers/
A 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()
A Dnet_user.c155 CATCH_EINTR(n = sendto(fd, buf, len, 0, (struct sockaddr *) to, in net_sendto()
/linux-6.3-rc2/Documentation/networking/
A 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));
A 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.3-rc2/drivers/rpmsg/
A Drpmsg_internal.h68 int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst); member
A Drpmsg_core.c187 if (!ept->ops->sendto) in rpmsg_sendto()
190 return ept->ops->sendto(ept, data, len, dst); in rpmsg_sendto()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Ddecap_sanity.c69 err = sendto(sockfd, buf, sizeof(buf), 0, (void *)&addr, addrlen); in test_decap_sanity()
A Dxdp_metadata.c193 ret = sendto(xsk_socket__fd(xsk->socket), NULL, 0, MSG_DONTWAIT, NULL, 0); in generate_packet()
A Dxdp_bonding.c265 n = sendto(s, buf, sizeof(buf), 0, (struct sockaddr *)&saddr_ll, sizeof(saddr_ll)); in send_udp_packets()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_skb_cgroup_id_user.c64 if (sendto(fd, &msg, sizeof(msg), 0, (const struct sockaddr *)&dst, in send_packet()
A Dxdp_features.c234 sendto(sockfd, buf, sizeof(buf), MSG_NOSIGNAL | MSG_CONFIRM, in dut_echo_thread()
550 n = sendto(sockfd, buf, sizeof(*tlv), MSG_NOSIGNAL | MSG_CONFIRM, in send_echo_msg()
A Dnetwork_helpers.c219 ret = sendto(fd, data, data_len, MSG_FASTOPEN, (struct sockaddr *)&addr, in fastopen_connect()
/linux-6.3-rc2/tools/bpf/bpftool/Documentation/
A 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.3-rc2/samples/bpf/
A Dtest_overhead_user.c82 if (sendto(fd, buf, strlen(buf), 0, in test_fib_table_lookup()
A Dcookie_uid_helper_example.c249 res = sendto(s_send, &message, sizeof(message), 0, in udp_client()
/linux-6.3-rc2/kernel/
A Dsys_ni.c251 COND_SYSCALL(sendto);
/linux-6.3-rc2/tools/accounting/
A Dprocacct.c153 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *) &nladdr, in send_cmd()
A Dgetdelays.c146 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *) &nladdr, in send_cmd()

Completed in 71 milliseconds

123