aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/svc_xprt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc/svc_xprt.h')
-rw-r--r--include/linux/sunrpc/svc_xprt.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h
index 2edeb0d13ac2..4042cdfec4fe 100644
--- a/include/linux/sunrpc/svc_xprt.h
+++ b/include/linux/sunrpc/svc_xprt.h
@@ -48,11 +48,15 @@ struct svc_xprt {
48#define XPT_OLD 9 /* used for xprt aging mark+sweep */ 48#define XPT_OLD 9 /* used for xprt aging mark+sweep */
49#define XPT_DETACHED 10 /* detached from tempsocks list */ 49#define XPT_DETACHED 10 /* detached from tempsocks list */
50#define XPT_LISTENER 11 /* listening endpoint */ 50#define XPT_LISTENER 11 /* listening endpoint */
51
52 struct svc_pool *xpt_pool; /* current pool iff queued */
53 struct svc_serv *xpt_server; /* service for transport */
51}; 54};
52 55
53int svc_reg_xprt_class(struct svc_xprt_class *); 56int svc_reg_xprt_class(struct svc_xprt_class *);
54void svc_unreg_xprt_class(struct svc_xprt_class *); 57void svc_unreg_xprt_class(struct svc_xprt_class *);
55void svc_xprt_init(struct svc_xprt_class *, struct svc_xprt *); 58void svc_xprt_init(struct svc_xprt_class *, struct svc_xprt *,
59 struct svc_serv *);
56int svc_create_xprt(struct svc_serv *, char *, unsigned short, int); 60int svc_create_xprt(struct svc_serv *, char *, unsigned short, int);
57void svc_xprt_put(struct svc_xprt *xprt); 61void svc_xprt_put(struct svc_xprt *xprt);
58 62