Home
last modified time | relevance | path

Searched refs:cmsghdr (Results 1 – 16 of 16) sorted by relevance

/tools/perf/trace/beauty/include/linux/
Dsocket.h92 struct cmsghdr { struct
109 ((void *)(cmsg) + sizeof(struct cmsghdr)) argument
111 ((void __user *)(cmsg) + sizeof(struct cmsghdr))
112 #define CMSG_SPACE(len) (sizeof(struct cmsghdr) + CMSG_ALIGN(len))
113 #define CMSG_LEN(len) (sizeof(struct cmsghdr) + (len))
115 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? \
116 (struct cmsghdr *)(ctl) : \
117 (struct cmsghdr *)NULL)
119 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \
141 static inline struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, in __cmsg_nxthdr()
[all …]
/tools/testing/selftests/net/
Dudpgso_bench_tx.c139 static void flush_cmsg(struct cmsghdr *cmsg) in flush_cmsg()
216 struct cmsghdr *cmsg; in flush_errqueue_recv()
314 static void send_ts_cmsg(struct cmsghdr *cm) in send_ts_cmsg()
339 struct cmsghdr *cmsg; in send_udp_sendmmsg()
378 static void send_udp_segment_cmsg(struct cmsghdr *cm) in send_udp_segment_cmsg()
396 struct cmsghdr *cmsg; in send_udp_segment()
Dipv6_flowlabel.c52 struct cmsghdr *cm; in do_send()
80 struct cmsghdr *cm; in do_recv()
Dso_txtime.c69 struct cmsghdr *cm; in do_send_one()
149 struct cmsghdr *cm; in do_recv_errqueue_timeout()
Dmsg_zerocopy.c172 struct cmsghdr *cm; in add_zcopy_cookie()
199 msg->msg_control = (struct cmsghdr *)ckbuf; in do_sendmsg()
363 struct cmsghdr *cmsg; in do_recvmsg_completion()
396 struct cmsghdr *cm; in do_recv_completion()
Dnettest.c604 struct cmsghdr *cm; in get_index_from_cmsg()
608 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(m); in get_index_from_cmsg()
610 cm = (struct cmsghdr *)CMSG_NXTHDR(m, cm)) { in get_index_from_cmsg()
662 struct cmsghdr *cm; in send_msg_cmsg()
674 cm = (struct cmsghdr *)cmsgbuf; in send_msg_cmsg()
753 struct cmsghdr *cm = (struct cmsghdr *)cmsgbuf; in socket_read_dgram()
Dtcp_inq.c103 struct cmsghdr *cm; in main()
Dtimestamping.c140 struct cmsghdr *cmsg; in printpacket()
267 struct cmsghdr cm; in recvpacket()
Dudpgso_bench_rx.c220 struct cmsghdr *cmsg; in recv_msg()
Dtxtimestamp.c312 struct cmsghdr *cm; in __recv_errmsg_cmsg()
485 struct cmsghdr *cmsg; in do_test()
Drxtimestamp.c183 struct cmsghdr *cmsg; in do_recv()
Dudpgso.c457 struct cmsghdr *cm; in send_one()
Dtls.c1120 struct cmsghdr *cmsg; in TEST_F()
/tools/testing/selftests/android/ion/
Dipcsocket.c110 struct cmsghdr *cmsg; in sendtosocket()
166 struct cmsghdr *cmsg; in receivefromsocket()
/tools/testing/selftests/bpf/
Dtest_sock_addr.c1229 int init_pktinfo(int domain, struct cmsghdr *cmsg) in init_pktinfo()
1265 struct cmsghdr align; in sendmsg_to_server()
1269 struct cmsghdr align; in sendmsg_to_server()
/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c365 struct cmsghdr *cm; in udp_recv_send()