lkml.org 
[lkml]   [2021]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH liburing v1 2/5] io_uring.h: Add `IORING_OP_SENDTO` and `IORING_OP_RECVFROM`
Date
Sync with the kernel to support for `sendto(2)` and `recvfrom(2)`,
this adds those two new opcodes.

Signed-off-by: Ammar Faizi <ammarfaizi2@gmail.com>
---
src/include/liburing/io_uring.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h
index 9d8c7f9..47038f6 100644
--- a/src/include/liburing/io_uring.h
+++ b/src/include/liburing/io_uring.h
@@ -154,6 +154,8 @@ enum {
IORING_OP_SETXATTR,
IORING_OP_FGETXATTR,
IORING_OP_GETXATTR,
+ IORING_OP_SENDTO,
+ IORING_OP_RECVFROM,

/* this goes last, obviously */
IORING_OP_LAST,
--
2.32.0
\
 
 \ /
  Last update: 2021-12-30 18:51    [W:1.033 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site