__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* 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 (1U)
#define RPC_MAX_RESVPORT (65535U)
#define RPC_DEF_MIN_RESVPORT (665U)
#define RPC_DEF_MAX_RESVPORT (1023U)
struct sock_xprt {
struct rpc_xprt xprt;
/*
* Network layer
*/
struct socket * sock;
struct sock * inet;
struct file * file;
/*
* State of TCP reply receive
*/
struct {
struct {
__be32 fraghdr,
xid,
calldir;
} __attribute__((packed));
u32 offset,
len;
unsigned long copied;
} recv;
/*
* State of TCP transmit queue
*/
struct {
u32 offset;
} xmit;
/*
* Connection of transports
*/
unsigned long sock_state;
struct delayed_work connect_worker;
struct work_struct error_worker;
struct work_struct recv_worker;
struct mutex recv_mutex;
struct completion handshake_done;
struct sockaddr_storage srcaddr;
unsigned short srcport;
int xprt_err;
struct rpc_clnt *clnt;
/*
* UDP socket buffer size parameters
*/
size_t rcvsize,
sndsize;
struct rpc_timeout tcp_timeout;
/*
* Saved socket callback addresses
*/
void (*old_data_ready)(struct sock *);
void (*old_state_change)(struct sock *);
void (*old_write_space)(struct sock *);
void (*old_error_report)(struct sock *);
};
/*
* TCP RPC flags
*/
#define XPRT_SOCK_CONNECTING 1U
#define XPRT_SOCK_DATA_READY (2)
#define XPRT_SOCK_UPD_TIMEOUT (3)
#define XPRT_SOCK_WAKE_ERROR (4)
#define XPRT_SOCK_WAKE_WRITE (5)
#define XPRT_SOCK_WAKE_PENDING (6)
#define XPRT_SOCK_WAKE_DISCONNECT (7)
#define XPRT_SOCK_CONNECT_SENT (8)
#define XPRT_SOCK_NOSPACE (9)
#define XPRT_SOCK_IGNORE_RECV (10)
#endif /* _LINUX_SUNRPC_XPRTSOCK_H */
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| xdrgen | Folder | 0755 |
|
|
| addr.h | File | 4.94 KB | 0644 |
|
| auth.h | File | 6.11 KB | 0644 |
|
| auth_gss.h | File | 2.31 KB | 0644 |
|
| bc_xprt.h | File | 1.98 KB | 0644 |
|
| cache.h | File | 9.07 KB | 0644 |
|
| clnt.h | File | 9.04 KB | 0644 |
|
| debug.h | File | 2.76 KB | 0644 |
|
| gss_api.h | File | 4.45 KB | 0644 |
|
| gss_err.h | File | 5.88 KB | 0644 |
|
| gss_krb5.h | File | 6.29 KB | 0644 |
|
| metrics.h | File | 3.68 KB | 0644 |
|
| msg_prot.h | File | 6.21 KB | 0644 |
|
| rdma_rn.h | File | 709 B | 0644 |
|
| rpc_pipe_fs.h | File | 3.85 KB | 0644 |
|
| rpc_rdma.h | File | 6.07 KB | 0644 |
|
| rpc_rdma_cid.h | File | 622 B | 0644 |
|
| sched.h | File | 10 KB | 0644 |
|
| stats.h | File | 1.9 KB | 0644 |
|
| svc.h | File | 19.16 KB | 0644 |
|
| svc_rdma.h | File | 10.48 KB | 0644 |
|
| svc_rdma_pcl.h | File | 3.13 KB | 0644 |
|
| svc_xprt.h | File | 8.07 KB | 0644 |
|
| svcauth.h | File | 6.05 KB | 0644 |
|
| svcauth_gss.h | File | 782 B | 0644 |
|
| svcsock.h | File | 1.92 KB | 0644 |
|
| timer.h | File | 1.14 KB | 0644 |
|
| types.h | File | 497 B | 0644 |
|
| xdr.h | File | 22.89 KB | 0644 |
|
| xprt.h | File | 16.36 KB | 0644 |
|
| xprtmultipath.h | File | 2.34 KB | 0644 |
|
| xprtrdma.h | File | 2.95 KB | 0644 |
|
| xprtsock.h | File | 1.85 KB | 0644 |
|