Home
last modified time | relevance | path

Searched refs:msghdr (Results 1 – 20 of 20) sorted by relevance

/tools/perf/trace/beauty/include/linux/
Dsocket.h50 struct msghdr { struct
153 static inline struct cmsghdr * cmsg_nxthdr (struct msghdr *__msg, struct cmsghdr *__cmsg) in cmsg_nxthdr()
158 static inline size_t msg_data_left(struct msghdr *msg) in msg_data_left()
368 extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data);
378 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss);
379 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss);
395 extern long __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg,
397 extern long __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg,
401 extern int sendmsg_copy_msghdr(struct msghdr *msg,
404 extern int recvmsg_copy_msghdr(struct msghdr *msg,
[all …]
/tools/testing/selftests/net/
Dtls.c323 struct msghdr msg; in TEST_F()
332 memset(&msg, 0, sizeof(struct msghdr)); in TEST_F()
347 struct msghdr msg; in TEST_F()
356 memset(&msg, 0, sizeof(struct msghdr)); in TEST_F()
377 struct msghdr msg; in TEST_F()
381 memset(&msg, 0, sizeof(struct msghdr)); in TEST_F()
402 struct msghdr msg; in TEST_F()
409 memset(&msg, 0, sizeof(struct msghdr)); in TEST_F()
442 struct msghdr msg; in TEST_F()
446 memset(&msg, 0, sizeof(struct msghdr)); in TEST_F()
[all …]
Dipv6_flowlabel.c41 struct msghdr msg = {0}; in do_send()
78 struct msghdr msg = {0}; in do_recv()
Dmsg_zerocopy.c170 static void add_zcopy_cookie(struct msghdr *msg, uint32_t cookie) in add_zcopy_cookie()
183 static bool do_sendmsg(int fd, struct msghdr *msg, bool do_zerocopy, int domain) in do_sendmsg()
226 static void do_sendmsg_corked(int fd, struct msghdr *msg) in do_sendmsg_corked()
364 struct msghdr msg; in do_recvmsg_completion()
395 struct msghdr msg = {}; in do_recv_completion()
485 struct msghdr msg = {0}; in do_tx()
Dso_txtime.c67 struct msghdr msg = {0}; in do_send_one()
147 struct msghdr msg = {0}; in do_recv_errqueue_timeout()
Dudpgso_bench_tx.c215 struct msghdr msg = {0}; in flush_errqueue_recv()
338 struct msghdr msg = {0}; in send_udp_sendmmsg()
393 struct msghdr msg = {0}; in send_udp_segment()
Dtcp_inq.c104 struct msghdr msg; in main()
Dtimestamping.c134 static void printpacket(struct msghdr *msg, int res, in printpacket()
263 struct msghdr msg; in recvpacket()
Dtxtimestamp.c308 static void __recv_errmsg_cmsg(struct msghdr *msg, int payload_len) in __recv_errmsg_cmsg()
365 static struct msghdr msg; in recv_errmsg()
486 struct msghdr msg; in do_test()
Dudpgso.c432 static bool __send_one(int fd, struct msghdr *msg, int flags) in __send_one()
455 struct msghdr msg = {0}; in send_one()
Dudpgso_bench_rx.c218 struct msghdr msg = {0}; in recv_msg()
Drxtimestamp.c185 struct msghdr hdr; in do_recv()
Dnettest.c602 static int get_index_from_cmsg(struct msghdr *m) in get_index_from_cmsg()
663 struct msghdr m; in send_msg_cmsg()
746 struct msghdr m = { in socket_read_dgram()
Dreuseport_bpf.c216 struct msghdr msg; in test_recv_order()
/tools/testing/selftests/android/ion/
Dipcsocket.c111 struct msghdr msgh; in sendtosocket()
167 struct msghdr msgh; in receivefromsocket()
/tools/testing/vsock/
Dvsock_diag_test.c187 struct msghdr msg = { in send_req()
216 struct msghdr msg = { in recv_resp()
/tools/testing/selftests/uevent/
Duevent_filtering.c87 struct msghdr hdr = { in uevent_listener()
/tools/testing/selftests/bpf/
Dtest_sockmap.c461 static void msg_free_iov(struct msghdr *msg) in msg_free_iov()
472 static int msg_alloc_iov(struct msghdr *msg, in msg_alloc_iov()
512 static int msg_verify_data(struct msghdr *msg, int size, int chunk_sz) in msg_verify_data()
555 struct msghdr msg = {0}, msg_peek = {0}; in msg_loop()
Dtest_sock_addr.c1271 struct msghdr hdr; in sendmsg_to_server()
1340 struct msghdr hdr; in recvmsg_from_client()
/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c363 struct msghdr msg = { 0 }; in udp_recv_send()