Home
last modified time | relevance | path

Searched refs:CMSG_LEN (Results 1 – 11 of 11) sorted by relevance

/tools/testing/selftests/landlock/
Dbase_test.c303 cmsg->cmsg_len = CMSG_LEN(sizeof(ruleset_fd_tx)); in TEST()
326 ASSERT_EQ(cmsg->cmsg_len, CMSG_LEN(sizeof(ruleset_fd_tx))); in TEST()
/tools/testing/selftests/net/
Dipv6_flowlabel.c55 cm->cmsg_len = CMSG_LEN(sizeof(flowlabel)); in do_send()
Dudpgso_bench_tx.c320 cm->cmsg_len = CMSG_LEN(sizeof(cfg_tx_ts)); in send_ts_cmsg()
384 cm->cmsg_len = CMSG_LEN(sizeof(cfg_gso_size)); in send_udp_segment_cmsg()
Dso_txtime.c102 cm->cmsg_len = CMSG_LEN(sizeof(tdeliver)); in do_send_one()
Dudpgso.c475 cm->cmsg_len = CMSG_LEN(sizeof(uint16_t)); in send_one()
Dtxtimestamp.c631 cmsg->cmsg_len = CMSG_LEN(sizeof(uint32_t)); in do_test()
Dmsg_zerocopy.c177 cm->cmsg_len = CMSG_LEN(sizeof(cookie)); in add_zcopy_cookie()
Dnettest.c914 cm->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in send_msg_cmsg()
925 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in send_msg_cmsg()
Dtls.c1199 cmsg->cmsg_len = CMSG_LEN(cmsg_len); in TEST_F()
/tools/perf/trace/beauty/include/linux/
Dsocket.h113 #define CMSG_LEN(len) (sizeof(struct cmsghdr) + (len)) macro
/tools/testing/selftests/bpf/
Dtest_sock_addr.c1003 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in init_pktinfo()
1012 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in init_pktinfo()