summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-01-04 20:19:44 -0700
committerJens Axboe <axboe@kernel.dk>2020-01-20 17:04:04 -0700
commitfddafacee287b3140212c92464077e971401f860 (patch)
tree1a72a9fd11381f3c33ceeaab6dbcff9e79417578 /include/uapi
parent2550878f8421f7912fdd56b38c630b797f95c749 (diff)
io_uring: add support for send(2) and recv(2)
This adds IORING_OP_SEND for send(2) support, and IORING_OP_RECV for recv(2) support. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/io_uring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h
index 29fae13395a8..0fe270ab191c 100644
--- a/include/uapi/linux/io_uring.h
+++ b/include/uapi/linux/io_uring.h
@@ -90,6 +90,8 @@ enum {
IORING_OP_WRITE,
IORING_OP_FADVISE,
IORING_OP_MADVISE,
+ IORING_OP_SEND,
+ IORING_OP_RECV,
/* this goes last, obviously */
IORING_OP_LAST,