implement sendmmsg and recvmmsg
[oweals/musl.git] / include / sys / socket.h
index d7527911dfedcc68b92226ea4b55395fa106b639..b911d6eea34c44d51b7284425e291043d8be7186 100644 (file)
@@ -26,6 +26,17 @@ struct ucred
        uid_t uid;
        gid_t gid;
 };
+
+struct mmsghdr
+{
+       struct msghdr msg_hdr;
+       unsigned int  msg_len;
+};
+
+struct timespec;
+
+int sendmmsg (int, struct mmsghdr *, unsigned int, unsigned int);
+int recvmmsg (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *);
 #endif
 
 struct linger