#ifndef SUNRPC_SVCSOCK_H
#define SUNRPC_SVCSOCK_H
#include <linux/sunrpc/svc.h>
#include <linux/sunrpc/svc_xprt.h>
struct svc_sock { … };
static inline u32 svc_sock_reclen(struct svc_sock *svsk)
{ … }
static inline u32 svc_sock_final_rec(struct svc_sock *svsk)
{ … }
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);
#define SVC_SOCK_DEFAULTS …
#define SVC_SOCK_ANONYMOUS …
#define SVC_SOCK_TEMPORARY …
#endif