Home
last modified time | relevance | path

Searched refs:cmsgbuf (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dtcp_inq.c101 char cmsgbuf[CMSG_SIZE]; in main() local
153 msg.msg_control = cmsgbuf; in main()
154 msg.msg_controllen = sizeof(cmsgbuf); in main()
H A Dnettest.c964 unsigned char cmsgbuf[64]; in send_msg_cmsg() local
977 memset(cmsgbuf, 0, sizeof(cmsgbuf)); in send_msg_cmsg()
978 cm = (struct cmsghdr *)cmsgbuf; in send_msg_cmsg()
1061 unsigned char cmsgbuf[256]; in socket_read_dgram() local
1062 struct cmsghdr *cm = (struct cmsghdr *)cmsgbuf; in socket_read_dgram()
1070 memset(cmsgbuf, 0, sizeof(cmsgbuf)); in socket_read_dgram()
1072 m.msg_controllen = sizeof(cmsgbuf); in socket_read_dgram()
H A Dmsg_zerocopy.c364 char cmsgbuf[CMSG_SPACE(sizeof(struct rds_zcopy_cookies))]; in do_recvmsg_completion() local
371 msg.msg_control = cmsgbuf; in do_recvmsg_completion()
372 msg.msg_controllen = sizeof(cmsgbuf); in do_recvmsg_completion()