]> Git Repo - linux.git/blob - include/linux/io_uring/net.h
Merge patch series "riscv: Extension parsing fixes"
[linux.git] / include / linux / io_uring / net.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef _LINUX_IO_URING_NET_H
3 #define _LINUX_IO_URING_NET_H
4
5 struct io_uring_cmd;
6
7 #if defined(CONFIG_IO_URING)
8 int io_uring_cmd_sock(struct io_uring_cmd *cmd, unsigned int issue_flags);
9
10 #else
11 static inline int io_uring_cmd_sock(struct io_uring_cmd *cmd,
12                                     unsigned int issue_flags)
13 {
14         return -EOPNOTSUPP;
15 }
16 #endif
17
18 #endif
This page took 0.037291 seconds and 4 git commands to generate.