linux/include/linux/sunrpc/xprtsock.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 *  linux/include/linux/sunrpc/xprtsock.h
 *
 *  Declarations for the RPC transport socket provider.
 */

#ifndef _LINUX_SUNRPC_XPRTSOCK_H
#define _LINUX_SUNRPC_XPRTSOCK_H

int		init_socket_xprt(void);
void		cleanup_socket_xprt(void);

#define RPC_MIN_RESVPORT
#define RPC_MAX_RESVPORT
#define RPC_DEF_MIN_RESVPORT
#define RPC_DEF_MAX_RESVPORT

struct sock_xprt {};

/*
 * TCP RPC flags
 */
#define XPRT_SOCK_CONNECTING
#define XPRT_SOCK_DATA_READY
#define XPRT_SOCK_UPD_TIMEOUT
#define XPRT_SOCK_WAKE_ERROR
#define XPRT_SOCK_WAKE_WRITE
#define XPRT_SOCK_WAKE_PENDING
#define XPRT_SOCK_WAKE_DISCONNECT
#define XPRT_SOCK_CONNECT_SENT
#define XPRT_SOCK_NOSPACE
#define XPRT_SOCK_IGNORE_RECV

#endif /* _LINUX_SUNRPC_XPRTSOCK_H */