| /linux/tools/testing/selftests/net/ |
| H A D | ipv6_fragmentation.c | 20 * sendmsg(2) returns bytes sent correctly on a working kernel, and returns -1 98 rc = sendmsg(s, &msg, 0); in main() 105 error(KSFT_FAIL, errno, "sendmsg"); in main() 107 error(KSFT_FAIL, errno, "sendmsg returned %zi, expected %i", in main() 110 printf("[PASS] sendmsg() returned %zi\n", rc); in main()
|
| H A D | udpgso.c | 360 ret = sendmsg(fd, msg, flags); in __send_one() 365 error(1, errno, "sendmsg"); in __send_one() 370 error(1, 0, "sendmsg: return flags 0x%x\n", msg->msg_flags); in __send_one()
|
| /linux/Documentation/networking/ |
| H A D | mctp.rst | 123 ``sendto()``, ``sendmsg()``, ``send()`` : transmit an MCTP message 126 An MCTP message is transmitted using one of the ``sendto()``, ``sendmsg()`` or 161 The ``sendmsg()`` system call allows a more compact argument interface, and the 163 message types (used for the ``msg_control`` data passed to ``sendmsg()``) are 220 allocating a per-message tag at ``sendmsg()`` time. 239 can use in future ``sendmsg()`` calls. The application populates the 248 - ``MCTP_TAG_PREALLOC``: to indicate to ``sendmsg()`` that this is a 270 sendmsg() 278 sendmsg()
|
| H A D | kcm.rst | 259 2) Send a group of messages each with a sendmsg call, where all messages 260 except the last have MSG_BATCH in the flags of sendmsg call. 262 with a single sendmsg.
|
| H A D | msg_zerocopy.rst | 53 [PATCH net-next v4 0/9] socket sendmsg MSG_ZEROCOPY 79 The change to send (or sendto, sendmsg, sendmmsg) itself is trivial.
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sock_addr.c | 286 int (*sendmsg)(int fd, struct sockaddr *addr, socklen_t addrlen, member 307 return sendmsg(fd, &hdr, 0); in user_sendmsg() 322 .sendmsg = user_sendmsg, 333 .sendmsg = sock_sendmsg, 344 .sendmsg = kernel_sendmsg, 1215 /* sendmsg - system calls */ 1218 "sendmsg4: sendmsg (dgram)", 1234 "sendmsg4: sendmsg deny (dgram)", 1282 "sendmsg6: sendmsg (dgram)", 1298 "sendmsg6: sendmsg [::] (BSD'ism) (dgram)", [all …]
|
| /linux/crypto/ |
| H A D | algif_aead.c | 12 * filled by user space with the data submitted via sendmsg (maybe with 92 * Data length provided by caller via sendmsg that has not yet been in _aead_recvmsg() 99 * present in sendmsg. The checks in sendmsg shall provide an in _aead_recvmsg() 103 * in sendmsg and still call recvmsg. This check here protects the in _aead_recvmsg() 285 .sendmsg = aead_sendmsg, 363 .sendmsg = aead_sendmsg_nokey,
|
| H A D | algif_skcipher.c | 12 * filled by user space with the data submitted via sendmsg. Filling up the TX 265 .sendmsg = skcipher_sendmsg, 343 .sendmsg = skcipher_sendmsg_nokey,
|
| H A D | algif_rng.c | 176 .sendmsg = sock_no_sendmsg, 197 .sendmsg = rng_test_sendmsg,
|
| /linux/tools/testing/vsock/ |
| H A D | vsock_test_zerocopy.c | 47 /* 'errno' after 'sendmsg()' call. */ 132 * for SOCK_SEQPACKET, 'sendmsg()' returns EMSGSIZE. 178 sendmsg_res = sendmsg(fd, &msg, MSG_ZEROCOPY); in test_client() 187 fprintf(stderr, "expected 'sendmsg()' == %li, got %li\n", in test_client() 206 * SO_ZEROCOPY was enabled and 'sendmsg()' was in test_client()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | sendmsg4_prog.c | 35 /* Unexpected source. Reject sendmsg. */ in sendmsg_v4_prog() 45 /* Unexpected source. Reject sendmsg. */ in sendmsg_v4_prog()
|
| H A D | sendmsg6_prog.c | 47 /* Unexpected source. Reject sendmsg. */ in sendmsg_v6_prog() 60 /* Unexpected destination. Reject sendmsg. */ in sendmsg_v6_prog()
|
| H A D | net_timestamping.c | 19 __u64 sendmsg_ns; /* record ts when sendmsg is called */ 28 u64 sendmsg_ns; /* record ts when sendmsg is called */
|
| /linux/tools/testing/selftests/net/packetdrill/ |
| H A D | tcp_zerocopy_maxfrags.pkt | 33 +0 sendmsg(4, {msg_name(...)=..., 45 +1 sendmsg(4, {msg_name(...)=..., 76 +0 sendmsg(4, {msg_name(...)=...,
|
| /linux/net/smc/ |
| H A D | smc_inet.c | 48 .sendmsg = smc_sendmsg, 95 .sendmsg = smc_sendmsg,
|
| /linux/Documentation/translations/zh_CN/networking/ |
| H A D | msg_zerocopy.rst | 56 [PATCH net-next v4 0/9] socket sendmsg MSG_ZEROCOPY 79 对 send(或 sendto、sendmsg、sendmmsg)本身的改动非常简单。只需传递新的标志即可。
|
| H A D | timestamping.rst | 83 也可以通过 cmsg 为单个 sendmsg 调用启用时间戳生成(1.3.4)。 184 err = sendmsg(fd, msg, 0); 266 禁用时间戳即可采样每个 sendmsg() 的时间戳:: 277 err = sendmsg(fd, msg, 0);
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A 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/include/uapi/linux/ |
| H A D | rds.h | 83 * CMSG_RDMA_ARGS (sendmsg) 87 * RDS_CMSG_RDMA_DEST (recvmsg, sendmsg) 90 * RDS_CMSG_RDMA_MAP (sendmsg)
|
| H A D | sctp.h | 187 * SCTP associations with sendmsg(). The SCTP_INITMSG socket option 204 * This cmsghdr structure specifies SCTP options for sendmsg() and 226 * This cmsghdr structure specifies SCTP options for sendmsg(). 281 * This cmsghdr structure specifies SCTP options for sendmsg(). 294 * This cmsghdr structure specifies SCTP options for sendmsg(). 932 /* UNKNOWN: Peer address passed by the upper layer in sendmsg or connect[x]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_sockmap.c | 657 sent = sendmsg(fd, &msg, flags); in msg_loop() 664 perror("sendmsg loop error"); in msg_loop() 668 "sendmsg loop error expected: %i errno %i\n", in msg_loop() 1043 SENDMSG, enumerator 1323 int skb_fd = (test == SENDMSG || test == SENDPAGE) ? in run_options() 1356 else if (test == SENDMSG) { in run_options() 1404 case SENDMSG: in test_to_str() 1405 return "sendmsg"; in test_to_str() 1508 err = __test_exec(cgrp, SENDMSG, opt); in test_exec() 2171 } else if (strcmp(optarg, "sendmsg") in main() [all...] |
| /linux/drivers/usb/usbip/ |
| H A D | vhci_tx.c | 142 pr_err("sendmsg failed!, ret=%d for %zd\n", ret, in vhci_send_cmd_submit() 221 pr_err("sendmsg failed!, ret=%d for %zd\n", ret, in vhci_send_cmd_unlink()
|
| /linux/drivers/md/ |
| H A D | md-cluster.c | 811 static int sendmsg(struct md_cluster_info *cinfo, struct cluster_msg *cmsg, in sendmsg() function 1013 err = sendmsg(cinfo, &cmsg, 1); in resync_bitmap() 1143 ret = sendmsg(cinfo, &cmsg, 0); in update_bitmap_size() 1390 return sendmsg(cinfo, &cmsg, 0); in resync_start_notify() 1418 return sendmsg(cinfo, &cmsg, 1); in resync_info_update() 1420 return sendmsg(cinfo, &cmsg, 0); in resync_info_update() 1536 return sendmsg(cinfo, &cmsg, 1); in remove_disk() 1601 err = sendmsg(cinfo, &cmsg, 1); in gather_bitmaps()
|
| /linux/tools/perf/arch/x86/entry/syscalls/ |
| H A D | syscall_64.tbl | 58 46 64 sendmsg sys_sendmsg 412 518 x32 sendmsg compat_sys_sendmsg
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | siocgskns_test.c | 127 if (sendmsg(ipc_sockets[1], &msg, 0) < 0) { in TEST() 463 if (sendmsg(ipc_sockets[1], &msg, 0) < 0) { in TEST() 643 if (sendmsg(ipc_sockets[1], &msg, 0) < 0) { in TEST() 845 if (sendmsg(ipc_sockets[1], &msg, 0) < 0) { in TEST() 1055 if (sendmsg(ipc_sockets[1], &msg, 0) < 0) { in TEST() 1435 if (sendmsg(ipc_L3[1], &msg, 0) < 0) { in TEST() 1498 if (sendmsg(ipc_L2[1], &msg, 0) < 0) { in TEST() 1561 if (sendmsg(ipc_sockets[1], &msg, 0) < 0) { in TEST()
|