#include <linux/in.h>
#include <linux/in6.h>
#include <linux/sunrpc/types.h>
#include <linux/sunrpc/xdr.h>
#include <linux/sunrpc/auth.h>
#include <linux/sunrpc/svcauth.h>
#include <linux/wait.h>
#include <linux/mm.h>
Go to the source code of this file.
|
u32 | svc_max_payload (const struct svc_rqst *rqstp) |
|
int | svc_rpcb_setup (struct svc_serv *serv, struct net *net) |
|
void | svc_rpcb_cleanup (struct svc_serv *serv, struct net *net) |
|
int | svc_bind (struct svc_serv *serv, struct net *net) |
|
struct svc_serv * | svc_create (struct svc_program *, unsigned int, void(*shutdown)(struct svc_serv *, struct net *net)) |
|
struct svc_rqst * | svc_prepare_thread (struct svc_serv *serv, struct svc_pool *pool, int node) |
|
void | svc_exit_thread (struct svc_rqst *) |
|
struct svc_serv * | svc_create_pooled (struct svc_program *, unsigned int, void(*shutdown)(struct svc_serv *, struct net *net), svc_thread_fn, struct module *) |
|
int | svc_set_num_threads (struct svc_serv *, struct svc_pool *, int) |
|
int | svc_pool_stats_open (struct svc_serv *serv, struct file *file) |
|
void | svc_destroy (struct svc_serv *) |
|
void | svc_shutdown_net (struct svc_serv *, struct net *) |
|
int | svc_process (struct svc_rqst *) |
|
int | bc_svc_process (struct svc_serv *, struct rpc_rqst *, struct svc_rqst *) |
|
int | svc_register (const struct svc_serv *, struct net *, const int, const unsigned short, const unsigned short) |
|
void | svc_wake_up (struct svc_serv *) |
|
void | svc_reserve (struct svc_rqst *rqstp, int space) |
|
struct svc_pool * | svc_pool_for_cpu (struct svc_serv *serv, int cpu) |
|
char * | svc_print_addr (struct svc_rqst *, char *, size_t) |
|
#define RPC_MAX_ADDRBUFLEN (63U) |
Value:
Definition at line 172 of file svc.h.
#define RPCSVC_MAXPAYLOAD (1*1024*1024u) |
#define RPCSVC_MAXPAYLOAD_UDP (32*1024u) |
typedef int(* svc_thread_fn)(void *) |
Definition at line 25 of file svc.h.
svc_print_addr - Format rq_addr field for printing : svc_rqst struct containing address to print : target buffer for formatted address : length of target buffer
Definition at line 302 of file svc_xprt.c.
svc_register - register an RPC service with the local portmapper : svc_serv struct for the service to register : net namespace for the service to register : protocol family of service's listener socket : transport protocol number to advertise : port to advertise
Service is registered for any address in the passed-in protocol family
Definition at line 941 of file svc.c.
svc_reserve - change the space reserved for the reply to a request. : The request in question : new max space to reserve
Each request reserves some space on the output queue of the transport to make sure the reply fits. This function reduces that reserved space to be the amount of space used already, plus .
Definition at line 431 of file svc_xprt.c.