Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/tools/testing/selftests/net/af_unix/
Ddiag_uid.c109 .msg_iov = &iov, in send_request()
148 .msg_iov = &iov, in receive_response()
/linux-6.6.21/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.6.21/tools/testing/selftests/landlock/
Dcommon.h209 .msg_iov = &io, in recv_fd()
243 .msg_iov = &io, in send_fd()
/linux-6.6.21/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.c167 msg.msg_iov = &vec; in tls_send_cmsg()
196 msg.msg_iov = &vec; in tls_recv_cmsg()
562 msg.msg_iov = &vec; in TEST_F()
586 msg.msg_iov = vec; in TEST_F()
614 msg.msg_iov = &vec; in TEST_F()
646 msg.msg_iov = vec; in TEST_F()
683 msg.msg_iov = vec; in TEST_F()
876 hdr.msg_iov = &vec; in TEST_F()
896 hdr.msg_iov = &vec; in TEST_F()
922 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.c356 mmsgs[i].msg_hdr.msg_iov = iov + i; in send_udp_sendmmsg()
402 msg.msg_iov = &iov; in send_udp_segment()
Dudpgso_bench_rx.c226 msg.msg_iov = &iov; in recv_msg()
Dtxtimestamp.c380 msg.msg_iov = &entry; in recv_errmsg()
619 msg.msg_iov = &iov; in do_test()
Dcsum.c454 msg.msg_iov = iov; in send_packet()
725 msg.msg_iov = &iov; in recv_packet()
/linux-6.6.21/samples/seccomp/
Duser-trap.c42 msg.msg_iov = &io; in send_fd()
71 msg.msg_iov = &io; in recv_fd()
/linux-6.6.21/include/net/
Dcompat.h13 compat_uptr_t msg_iov; /* struct compat_iovec * */ member
/linux-6.6.21/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.6.21/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()
849 hdr.msg_iov = (struct iovec *) &iov; in vector_legacy_rx()
997 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.6.21/tools/testing/vsock/
Dvsock_diag_test.c190 .msg_iov = &iov, in send_req()
219 .msg_iov = &iov, in recv_resp()
Dvsock_test.c518 msg.msg_iov = &iov; in test_seqpacket_msg_bounds_server()
539 curr_hash += hash_djb2(msg.msg_iov[0].iov_base, recv_size); in test_seqpacket_msg_bounds_server()
589 msg.msg_iov = &iov; in test_seqpacket_msg_trunc_server()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dlwt_reroute.c98 .msg_iov = &iov, in overflow_fq()
/linux-6.6.21/arch/um/os-Linux/
Dfile.c517 msg.msg_iov = &iov; in os_rcv_fd()
659 .msg_iov = &iov, in os_sendmsg_fds()
/linux-6.6.21/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.6.21/io_uring/
Dnet.c475 if (copy_from_user(iomsg->fast_iov, msg.msg_iov, sizeof(*msg.msg_iov))) in __io_recvmsg_copy_hdr()
489 ret = __import_iovec(ITER_DEST, msg.msg_iov, msg.msg_iovlen, UIO_FASTIOV, in __io_recvmsg_copy_hdr()
515 uiov = compat_ptr(msg.msg_iov); in __io_compat_recvmsg_copy_hdr()

12