summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_socket.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2017-02-03 16:57:39 +0000
committerchristos <christos@NetBSD.org>2017-02-03 16:57:39 +0000
commiteab9789e2e6f17f4c6c8c5f6216486ebe18148b3 (patch)
tree0024662d4cdf014485ff00f73129a9240ff0ce40 /sys/compat/linux/common/linux_socket.h
parent0e109bbbff24f787abe7e278e151c3ef78c7620e (diff)
add sendmmsg and recvmmsg
Diffstat (limited to 'sys/compat/linux/common/linux_socket.h')
-rw-r--r--sys/compat/linux/common/linux_socket.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/compat/linux/common/linux_socket.h b/sys/compat/linux/common/linux_socket.h
index 2395bbed05f..3b14fd15ef5 100644
--- a/sys/compat/linux/common/linux_socket.h
+++ b/sys/compat/linux/common/linux_socket.h
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_socket.h,v 1.22 2014/01/27 19:19:15 njoly Exp $ */
+/* $NetBSD: linux_socket.h,v 1.23 2017/02/03 16:57:39 christos Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -140,6 +140,11 @@ struct linux_msghdr {
unsigned int msg_flags;
};
+struct linux_mmsghdr {
+ struct linux_msghdr msg_hdr;
+ unsigned int msg_len;
+};
+
/*
* Message flags (for sendmsg/recvmsg)
*/