atomic_t cl_swapper; /* swapfile count */ int cl_nodelen; /* nodename length */ char cl_nodename[UNX_MAXNODENAME+1]; struct rpc_pipe_dir_head cl_pipedir_objects; struct rpc_clnt * cl_parent; /* Points to parent of clones */ struct rpc_rtt cl_rtt_default; struct rpc_timeout cl_timeout_default; conststruct rpc_program *cl_program; constchar * cl_principal; /* use for machine cred */ #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) struct dentry *cl_debugfs; /* debugfs directory */ #endif struct rpc_sysfs_client *cl_sysfs; /* sysfs directory */ /* cl_work is only needed after cl_xpi is no longer used, * and that are of similar size
*/ union { struct rpc_xprt_iter cl_xpi; struct work_struct cl_work;
}; conststruct cred *cl_cred; unsignedint cl_max_connect; /* max number of transports not to the same IP */ struct super_block *pipefs_sb;
atomic_t cl_task_count;
};
/* * General RPC program info
*/ #define RPC_MAXVERSION 4 struct rpc_program { constchar * name; /* protocol name */
u32 number; /* program number */ unsignedint nrvers; /* number of versions */ conststruct rpc_version ** version; /* version array */ struct rpc_stat * stats; /* statistics */ constchar * pipe_dir_name; /* path to rpc_pipefs dir */
};
struct rpc_version {
u32 number; /* version number */ unsignedint nrprocs; /* number of procs */ conststruct rpc_procinfo *procs; /* procedure array */ unsignedint *counts; /* call counts */
};
/* * Procedure information
*/ struct rpc_procinfo {
u32 p_proc; /* RPC procedure number */
kxdreproc_t p_encode; /* XDR encode function */
kxdrdproc_t p_decode; /* XDR decode function */ unsignedint p_arglen; /* argument hdr length (u32) */ unsignedint p_replen; /* reply hdr length (u32) */ unsignedint p_timer; /* Which RTT timer to use */
u32 p_statidx; /* Which procedure to account */ constchar * p_name; /* name of procedure */
};
int rpcb_create_local(struct net *); void rpcb_put_local(struct net *); int rpcb_register(struct net *, u32, u32, int, unsignedshort); int rpcb_v4_register(struct net *net, const u32 program, const u32 version, conststruct sockaddr *address, constchar *netid); void rpcb_getport_async(struct rpc_task *);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.