Searched refs:snd_msg (Results 1 – 2 of 2) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/ |
D | sendmmsg01.c | 17 static struct mmsghdr *snd_msg, *rcv_msg; variable 26 retval = tv->sendmmsg(send_sockfd, snd_msg, VLEN, 0); in run() 27 if (retval < 0 || snd_msg[0].msg_len != 6 || snd_msg[1].msg_len != 6) { in run() 81 memset(snd_msg, 0, VLEN * sizeof(*snd_msg)); in setup() 82 snd_msg[0].msg_hdr.msg_iov = snd1; in setup() 83 snd_msg[0].msg_hdr.msg_iovlen = 2; in setup() 84 snd_msg[1].msg_hdr.msg_iov = snd2; in setup() 85 snd_msg[1].msg_hdr.msg_iovlen = 1; in setup() 114 {&snd_msg, .size = VLEN * sizeof(*snd_msg)},
|
D | sendmmsg02.c | 16 static struct mmsghdr *snd_msg; variable 32 .msg_vec = &snd_msg, 72 {&snd_msg, .size = VLEN * sizeof(*snd_msg)},
|