diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-10-17 16:51:05 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-17 16:51:05 -0600 |
commit | b8712db0fa026e0892e66435e6ff7bb286f21587 (patch) | |
tree | ce6b7972c97ab896f5aff2e75aea5ddbc625919d /src | |
parent | 79ba71a4881fb1cd300520553d7285b3c5ee1293 (diff) | |
download | liburing-b8712db0fa026e0892e66435e6ff7bb286f21587.tar.gz liburing-b8712db0fa026e0892e66435e6ff7bb286f21587.tar.bz2 |
Sync with kernel io_uring.h header
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/liburing/io_uring.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h index 6dc5ced..f82d90e 100644 --- a/src/include/liburing/io_uring.h +++ b/src/include/liburing/io_uring.h @@ -19,7 +19,10 @@ struct io_uring_sqe { __u8 flags; /* IOSQE_ flags */ __u16 ioprio; /* ioprio for the request */ __s32 fd; /* file descriptor to do IO on */ - __u64 off; /* offset into file */ + union { + __u64 off; /* offset into file */ + __u64 addr2; + }; __u64 addr; /* pointer to buffer or iovecs */ __u32 len; /* buffer size or number of iovecs */ union { @@ -29,6 +32,7 @@ struct io_uring_sqe { __u32 sync_range_flags; __u32 msg_flags; __u32 timeout_flags; + __u32 accept_flags; }; __u64 user_data; /* data to be passed back at completion time */ union { @@ -65,6 +69,7 @@ struct io_uring_sqe { #define IORING_OP_RECVMSG 10 #define IORING_OP_TIMEOUT 11 #define IORING_OP_TIMEOUT_REMOVE 12 +#define IORING_OP_ACCEPT 13 /* * sqe->fsync_flags |