Home
last modified time | relevance | path

Searched refs:msg_iov (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.1.9/Documentation/networking/
Dtls.rst142 struct iovec msg_iov; /* Vector of data to send/receive into. */
153 msg_iov.iov_base = data;
154 msg_iov.iov_len = length;
155 msg.msg_iov = &msg_iov;
180 struct iovec msg_iov;
181 msg_iov.iov_base = buffer;
182 msg_iov.iov_len = 16384;
184 msg.msg_iov = &msg_iov;
/linux-6.1.9/tools/testing/selftests/net/af_unix/
Ddiag_uid.c109 .msg_iov = &iov, in send_request()
148 .msg_iov = &iov, in receive_response()
/linux-6.1.9/tools/testing/selftests/landlock/
Dbase_test.c277 .msg_iov = &io, in TEST()
320 *(char *)msg.msg_iov->iov_base = '\0'; in TEST()
323 ASSERT_EQ('.', *(char *)msg.msg_iov->iov_base); in TEST()
/linux-6.1.9/arch/um/os-Linux/drivers/
Dtuntap_user.c91 msg.msg_iov = &iov; in tuntap_open_tramp()
95 msg.msg_iov = NULL; in tuntap_open_tramp()
/linux-6.1.9/tools/testing/selftests/net/
Dipv6_flowlabel.c68 msg.msg_iov = &iov; in do_send()
110 msg.msg_iov = &iov; in do_recv()
Dudpgso.c442 if (ret != msg->msg_iov->iov_len) in __send_one()
444 (unsigned long long)msg->msg_iov->iov_len); in __send_one()
462 msg.msg_iov = &iov; in send_one()
Dtls.c151 msg.msg_iov = &vec; in tls_send_cmsg()
180 msg.msg_iov = &vec; in tls_recv_cmsg()
491 msg.msg_iov = &vec; in TEST_F()
515 msg.msg_iov = vec; in TEST_F()
543 msg.msg_iov = &vec; in TEST_F()
575 msg.msg_iov = vec; in TEST_F()
612 msg.msg_iov = vec; in TEST_F()
805 hdr.msg_iov = &vec; in TEST_F()
825 hdr.msg_iov = &vec; in TEST_F()
851 hdr.msg_iov = vec; in TEST_F()
Dmsg_zerocopy.c191 len += msg->msg_iov[i].iov_len; in do_sendmsg()
245 msg->msg_iov[0].iov_len = payload_len + extra_len; in do_sendmsg_corked()
543 msg.msg_iov = &iov[3 - msg.msg_iovlen]; in do_tx()
Dso_txtime.c85 msg.msg_iov = &iov; in do_send_one()
167 msg.msg_iov = &iov; in do_recv_errqueue_timeout()
Dtcp_inq.c151 msg.msg_iov = iov; in main()
Dudpgso_bench_tx.c340 mmsgs[i].msg_hdr.msg_iov = iov + i; in send_udp_sendmmsg()
386 msg.msg_iov = &iov; in send_udp_segment()
Dudpgso_bench_rx.c227 msg.msg_iov = &iov; in recv_msg()
Dtxtimestamp.c380 msg.msg_iov = &entry; in recv_errmsg()
619 msg.msg_iov = &iov; in do_test()
/linux-6.1.9/samples/seccomp/
Duser-trap.c42 msg.msg_iov = &io; in send_fd()
71 msg.msg_iov = &io; in recv_fd()
/linux-6.1.9/include/net/
Dcompat.h13 compat_uptr_t msg_iov; /* struct compat_iovec * */ member
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_sockmap.c466 free(msg->msg_iov[i].iov_base); in msg_free_iov()
467 free(msg->msg_iov); in msg_free_iov()
468 msg->msg_iov = NULL; in msg_free_iov()
502 msg->msg_iov = iov; in msg_alloc_iov()
508 free(msg->msg_iov[i].iov_base); in msg_alloc_iov()
518 unsigned char *d = msg->msg_iov[i].iov_base; in msg_verify_data()
522 if (msg->msg_iov[i].iov_len < 4) in msg_verify_data()
533 for (; j < msg->msg_iov[i].iov_len && size; j++) { in msg_verify_data()
/linux-6.1.9/arch/um/drivers/
Dvector_kern.c356 mmsg_vector->msg_hdr.msg_iov in vector_enqueue()
503 iov = mmsg_vector->msg_hdr.msg_iov; in destroy_queue()
553 mmsg_vector->msg_hdr.msg_iov = NULL; in create_queue()
571 mmsg_vector->msg_hdr.msg_iov = iov; in create_queue()
622 struct iovec *iov = msg->msg_iov; in prep_skb()
848 hdr.msg_iov = (struct iovec *) &iov; in vector_legacy_rx()
996 mmsg_vector->msg_hdr.msg_iov->iov_base, in vector_mmsg_rx()
Dmconsole_user.c50 msg.msg_iov = &iov; in mconsole_reply_v0()
/linux-6.1.9/tools/testing/vsock/
Dvsock_diag_test.c190 .msg_iov = &iov, in send_req()
219 .msg_iov = &iov, in recv_resp()
Dvsock_test.c323 msg.msg_iov = &iov; in test_seqpacket_msg_bounds_server()
378 msg.msg_iov = &iov; in test_seqpacket_msg_trunc_server()
/linux-6.1.9/arch/um/os-Linux/
Dfile.c517 msg.msg_iov = &iov; in os_rcv_fd()
659 .msg_iov = &iov, in os_sendmsg_fds()
/linux-6.1.9/samples/bpf/
Dxdp_router_ipv4_user.c291 msg.msg_iov = &iov; in get_route_table()
426 msg.msg_iov = &iov; in get_arp_table()
/linux-6.1.9/io_uring/
Dnet.c439 if (copy_from_user(iomsg->fast_iov, msg.msg_iov, sizeof(*msg.msg_iov))) in __io_recvmsg_copy_hdr()
453 ret = __import_iovec(READ, msg.msg_iov, msg.msg_iovlen, UIO_FASTIOV, in __io_recvmsg_copy_hdr()
479 uiov = compat_ptr(msg.msg_iov); in __io_compat_recvmsg_copy_hdr()
/linux-6.1.9/tools/perf/trace/beauty/include/linux/
Dsocket.h82 struct iovec __user *msg_iov; /* scatter/gather array */ member
/linux-6.1.9/include/linux/
Dsocket.h82 struct iovec __user *msg_iov; /* scatter/gather array */ member

12