Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | svc_sock |
Macros | |
#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 */ |
Functions | |
void | svc_close_net (struct svc_serv *, struct net *) |
int | svc_recv (struct svc_rqst *, long) |
int | svc_send (struct svc_rqst *) |
void | svc_drop (struct svc_rqst *) |
void | svc_sock_update_bufs (struct svc_serv *serv) |
int | svc_addsock (struct svc_serv *serv, const int fd, char *name_return, const size_t len) |
void | svc_init_xprt_sock (void) |
void | svc_cleanup_xprt_sock (void) |
struct svc_xprt * | svc_sock_create (struct svc_serv *serv, int prot) |
void | svc_sock_destroy (struct svc_xprt *) |
#define SVC_SOCK_ANONYMOUS (1U << 0) /* don't register with pmap */ |
#define SVC_SOCK_TEMPORARY (1U << 1) /* flag socket as temporary */ |
svc_addsock - add a listener socket to an RPC service : pointer to RPC service to which to add a new listener : file descriptor of the new listener : pointer to buffer to fill in with name of listener : size of the buffer
Fills in socket name and returns positive length of name if successful. Name is terminated with '
'. On error, returns a negative errno value.
Definition at line 800 of file svc_xprt.c.
Definition at line 810 of file svc_xprt.c.