__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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/svcsock.h * * RPC server socket I/O. * * Copyright (C) 1995, 1996 Olaf Kirch <[email protected]> */ #ifndef SUNRPC_SVCSOCK_H #define SUNRPC_SVCSOCK_H #include <linux/sunrpc/svc.h> #include <linux/sunrpc/svc_xprt.h> /* * RPC server socket. */ struct svc_sock { struct svc_xprt sk_xprt; struct socket * sk_sock; /* berkeley socket layer */ struct sock * sk_sk; /* INET layer */ /* We keep the old state_change and data_ready CB's here */ void (*sk_ostate)(struct sock *); void (*sk_odata)(struct sock *); void (*sk_owspace)(struct sock *); /* private TCP part */ /* On-the-wire fragment header: */ __be32 sk_marker; /* As we receive a record, this includes the length received so * far (including the fragment header): */ u32 sk_tcplen; /* Total length of the data (not including fragment headers) * received so far in the fragments making up this rpc: */ u32 sk_datalen; struct page_frag_cache sk_frag_cache; struct completion sk_handshake_done; struct page * sk_pages[RPCSVC_MAXPAGES]; /* received data */ }; static inline u32 svc_sock_reclen(struct svc_sock *svsk) { return be32_to_cpu(svsk->sk_marker) & RPC_FRAGMENT_SIZE_MASK; } static inline u32 svc_sock_final_rec(struct svc_sock *svsk) { return be32_to_cpu(svsk->sk_marker) & RPC_LAST_STREAM_FRAGMENT; } /* * Function prototypes. */ void svc_recv(struct svc_rqst *rqstp); void svc_send(struct svc_rqst *rqstp); int svc_addsock(struct svc_serv *serv, struct net *net, const int fd, char *name_return, const size_t len, const struct cred *cred); void svc_init_xprt_sock(void); void svc_cleanup_xprt_sock(void); /* * svc_makesock socket characteristics */ #define SVC_SOCK_DEFAULTS (0U) #define SVC_SOCK_ANONYMOUS (1U << 0) /* don't register with pmap */ #define SVC_SOCK_TEMPORARY (1U << 1) /* flag socket as temporary */ #endif /* SUNRPC_SVCSOCK_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 |
|