Home
last modified time | relevance | path

Searched refs:msgvec (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg_var.h12 static inline int libc_sendmmsg(int sockfd, struct mmsghdr *msgvec, in libc_sendmmsg() argument
16 return sendmmsg(sockfd, msgvec, vlen, flags); in libc_sendmmsg()
23 static inline int sys_sendmmsg(int sockfd, struct mmsghdr *msgvec, in sys_sendmmsg() argument
26 return tst_syscall(__NR_sendmmsg, sockfd, msgvec, vlen, flags); in sys_sendmmsg()
29 static inline int libc_recvmmsg(int sockfd, struct mmsghdr *msgvec, in libc_recvmmsg() argument
33 return recvmmsg(sockfd, msgvec, vlen, flags, timeout); in libc_recvmmsg()
40 static inline int sys_recvmmsg(int sockfd, struct mmsghdr *msgvec, in sys_recvmmsg() argument
43 return tst_syscall(__NR_recvmmsg, sockfd, msgvec, vlen, flags, timeout); in sys_recvmmsg()
46 static inline int sys_recvmmsg64(int sockfd, struct mmsghdr *msgvec, in sys_recvmmsg64() argument
49 return tst_syscall(__NR_recvmmsg_time64, sockfd, msgvec, vlen, flags, in sys_recvmmsg64()
/third_party/musl/src/network/
Drecvmmsg.c13 int recvmmsg(int fd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags, struct timespec… in recvmmsg() argument
16 struct mmsghdr *mh = msgvec; in recvmmsg()
24 int r = __syscall_cp(SYS_recvmmsg_time64, fd, msgvec, vlen, flags, in recvmmsg()
30 for (int i=0; i<vlen; i++) csize[i] = msgvec[i].msg_hdr.msg_controllen; in recvmmsg()
31 r = __syscall_cp(SYS_recvmmsg, fd, msgvec, vlen, flags, in recvmmsg()
34 __convert_scm_timestamps(&msgvec[i].msg_hdr, csize[i]); in recvmmsg()
37 return syscall_cp(SYS_recvmmsg, fd, msgvec, vlen, flags, timeout); in recvmmsg()
Dsendmmsg.c7 int sendmmsg(int fd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags) in sendmmsg() argument
21 ssize_t r = sendmsg(fd, &msgvec[i].msg_hdr, flags); in sendmmsg()
23 msgvec[i].msg_len = r; in sendmmsg()
28 return syscall_cp(SYS_sendmmsg, fd, msgvec, vlen, flags); in sendmmsg()
/third_party/musl/compat/time32/
Drecvmmsg_time32.c6 int __recvmmsg_time32(int fd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags, struct… in __recvmmsg_time32() argument
8 return recvmmsg(fd, msgvec, vlen, flags, ts32 ? (&(struct timespec){ in __recvmmsg_time32()
/third_party/ltp/include/
Dtime64_variants.h57 int (*recvmmsg)(int sockfd, struct mmsghdr *msgvec, unsigned int vlen,
59 int (*sendmmsg)(int sockfd, struct mmsghdr *msgvec, unsigned int vlen,
/third_party/glib/gio/
Dgsocket.c5199 struct mmsghdr *msgvec; in g_socket_send_messages_with_timeout() local
5208 msgvec = g_newa (struct mmsghdr, num_messages); in g_socket_send_messages_with_timeout()
5213 struct msghdr *msg_hdr = &msgvec[i].msg_hdr; in g_socket_send_messages_with_timeout()
5216 msgvec[i].msg_len = 0; in g_socket_send_messages_with_timeout()
5219 msg_hdr, (i > 0) ? &msgvec[i - 1].msg_hdr : NULL, in g_socket_send_messages_with_timeout()
5233 ret = sendmmsg (socket->priv->fd, msgvec + num_sent, num_messages - num_sent, in g_socket_send_messages_with_timeout()
5275 messages[i].bytes_sent = msgvec[i].msg_len; in g_socket_send_messages_with_timeout()
5721 struct mmsghdr *msgvec; in g_socket_receive_messages_with_timeout() local
5730 msgvec = g_newa (struct mmsghdr, num_messages); in g_socket_receive_messages_with_timeout()
5735 struct msghdr *msg_hdr = &msgvec[i].msg_hdr; in g_socket_receive_messages_with_timeout()
[all …]