From 7a3fd11c4ba0e74c3e9e025aaa94d0410652fbdf Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 23 May 2019 22:25:05 -0600 Subject: io_uring.h: add send/recvmsg parts This syncs with io_uring-next, which has support for doing recvmsg and sendmsg through io_uring. Signed-off-by: Jens Axboe --- src/io_uring.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/io_uring.h b/src/io_uring.h index ce03151..a61c4a6 100644 --- a/src/io_uring.h +++ b/src/io_uring.h @@ -27,6 +27,7 @@ struct io_uring_sqe { __u32 fsync_flags; __u16 poll_events; __u32 sync_range_flags; + __u32 msg_flags; }; __u64 user_data; /* data to be passed back at completion time */ union { @@ -58,6 +59,8 @@ struct io_uring_sqe { #define IORING_OP_POLL_ADD 6 #define IORING_OP_POLL_REMOVE 7 #define IORING_OP_SYNC_FILE_RANGE 8 +#define IORING_OP_SENDMSG 9 +#define IORING_OP_RECVMSG 10 /* * sqe->fsync_flags -- cgit