Home
last modified time | relevance | path

Searched refs:msg_controllen (Results 1 – 17 of 17) sorted by relevance

/tools/testing/selftests/net/
Dudpgso_bench_tx.c221 msg.msg_controllen = sizeof(control); in flush_errqueue_recv()
332 size_t msg_controllen = 0; in send_udp_sendmmsg() local
342 msg.msg_controllen = sizeof(control); in send_udp_sendmmsg()
345 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_sendmmsg()
361 if (msg_controllen) { in send_udp_sendmmsg()
363 mmsgs[i].msg_hdr.msg_controllen = msg_controllen; in send_udp_sendmmsg()
395 size_t msg_controllen; in send_udp_segment() local
406 msg.msg_controllen = sizeof(control); in send_udp_segment()
409 msg_controllen = CMSG_SPACE(sizeof(cfg_mss)); in send_udp_segment()
413 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_segment()
[all …]
Dipv6_flowlabel.c61 msg.msg_controllen = sizeof(control); in do_send()
92 msg.msg_controllen = sizeof(control); in do_recv()
Dso_txtime.c93 msg.msg_controllen = sizeof(control); in do_send_one()
171 msg.msg_controllen = sizeof(control); in do_recv_errqueue_timeout()
219 msg.msg_controllen = sizeof(control); in do_recv_errqueue_timeout()
Dmsg_zerocopy.c198 msg->msg_controllen = CMSG_SPACE(sizeof(cookie)); in do_sendmsg()
220 msg->msg_controllen = 0; in do_sendmsg()
369 msg.msg_controllen = sizeof(cmsgbuf); in do_recvmsg_completion()
405 msg.msg_controllen = sizeof(control); in do_recv_completion()
Dtcp_inq.c154 msg.msg_controllen = sizeof(cmsgbuf); in main()
Dtimestamping.c171 msg->msg_controllen); in printpacket()
298 msg.msg_controllen = sizeof(control); in recvpacket()
Dudpgso_bench_rx.c230 msg.msg_controllen = sizeof(control); in recv_msg()
Dtxtimestamp.c385 msg.msg_controllen = sizeof(ctrl); in recv_errmsg()
626 msg.msg_controllen = sizeof(control); in do_test()
Dnettest.c841 m->msg_controllen != 0 && cm; in get_index_from_cmsg()
918 m.msg_controllen = cm->cmsg_len; in send_msg_cmsg()
930 m.msg_controllen = cm->cmsg_len; in send_msg_cmsg()
995 m.msg_controllen = sizeof(cmsgbuf); in socket_read_dgram()
Drxtimestamp.c196 hdr.msg_controllen = sizeof(cmsg_buf); in do_recv()
Dudpgso.c470 msg.msg_controllen = sizeof(control); in send_one()
Dtls.c1194 msg.msg_controllen = sizeof(cbuf); in TEST_F()
1201 msg.msg_controllen = cmsg->cmsg_len; in TEST_F()
/tools/perf/trace/beauty/include/linux/
Dsocket.h65 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member
76 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member
118 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
121 ((mhdr)->msg_controllen - \
155 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c395 .msg_controllen = sizeof(msg_buf), in do_recvmsg_cmsg()
403 if (msg.msg_controllen && !cfg_cmsg_types.cmsg_enabled) in do_recvmsg_cmsg()
405 (unsigned long)msg.msg_controllen); in do_recvmsg_cmsg()
407 if (msg.msg_controllen == 0 && cfg_cmsg_types.cmsg_enabled) in do_recvmsg_cmsg()
410 if (msg.msg_controllen) in do_recvmsg_cmsg()
/tools/testing/selftests/landlock/
Dbase_test.c280 .msg_controllen = sizeof(cmsg_tx.buf), in TEST()
/tools/testing/selftests/bpf/
Dtest_sock_addr.c1069 hdr.msg_controllen = sizeof(control4.buf); in sendmsg_to_server()
1072 hdr.msg_controllen = sizeof(control6.buf); in sendmsg_to_server()
/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c378 msg.msg_controllen = sizeof(cmsg_buf); in udp_recv_send()
423 msg.msg_controllen = 0; in udp_recv_send()