diff options
author | Ben Pfaff <blp@ovn.org> | 2017-07-12 17:38:33 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-07-12 17:38:33 -0700 |
commit | 8a8c1b93b1723e022665950ec0b623dc6b57fbb0 (patch) | |
tree | f270693aee14bdf0011e1e95e808bdec0d8256a3 /include/sparse | |
parent | 5b4db7b54f2ed700a68af3228b2d4d8b020e792c (diff) | |
download | openvswitch-8a8c1b93b1723e022665950ec0b623dc6b57fbb0.tar.gz |
socket-util: Support sendmmsg() regardless of platform.
This will have its first user in an upcoming commit.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'include/sparse')
-rw-r--r-- | include/sparse/sys/socket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sparse/sys/socket.h b/include/sparse/sys/socket.h index 3212bf4b7..88a5387e7 100644 --- a/include/sparse/sys/socket.h +++ b/include/sparse/sys/socket.h @@ -75,6 +75,11 @@ __cmsg_nxthdr(struct msghdr *msg, struct cmsghdr *cmsg) : NULL); } +struct mmsghdr { + struct msghdr msg_hdr; + unsigned int msg_len; +}; + enum { SCM_RIGHTS = 1 }; |