1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2#ifndef _LINUX_IO_URING_NET_H 3#define _LINUX_IO_URING_NET_H 4 5struct io_uring_cmd; 6 7#if defined(CONFIG_IO_URING) 8int io_uring_cmd_sock(struct io_uring_cmd *cmd, unsigned int issue_flags); 9 10#else 11static 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 19