summaryrefslogtreecommitdiff
path: root/include/net/raw.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-12-18 15:12:46 -0700
committerJens Axboe <axboe@kernel.dk>2021-08-13 08:32:18 -0600
commit4e0c34c9b129fe84c63d3f76053d2e55d944e8a9 (patch)
treeeffac95f80fc2c717560b3f03ef4c7d4a7af274a /include/net/raw.h
parent19c8101164e759b21740dc3ef37ef09a6ad281b9 (diff)
net: add example SOCKET_URING_OP_SIOCINQ/SOCKET_URING_OP_SIOCOUTQio_uring-fops.v6
This adds support for these sample ioctls for tcp/udp/raw ipv4/ipv6. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/net/raw.h')
-rw-r--r--include/net/raw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/raw.h b/include/net/raw.h
index 8ad8df594853..27098db724dd 100644
--- a/include/net/raw.h
+++ b/include/net/raw.h
@@ -82,4 +82,7 @@ static inline bool raw_sk_bound_dev_eq(struct net *net, int bound_dev_if,
#endif
}
+int raw_uring_cmd(struct sock *sk, struct io_uring_cmd *cmd,
+ enum io_uring_cmd_flags issue_flags);
+
#endif /* _RAW_H */