diff options
Diffstat (limited to 'include/linux/sunrpc/svc_xprt.h')
-rw-r--r-- | include/linux/sunrpc/svc_xprt.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h index 6374805887a6..2edeb0d13ac2 100644 --- a/include/linux/sunrpc/svc_xprt.h +++ b/include/linux/sunrpc/svc_xprt.h | |||
@@ -36,6 +36,18 @@ struct svc_xprt { | |||
36 | struct svc_xprt_class *xpt_class; | 36 | struct svc_xprt_class *xpt_class; |
37 | struct svc_xprt_ops *xpt_ops; | 37 | struct svc_xprt_ops *xpt_ops; |
38 | struct kref xpt_ref; | 38 | struct kref xpt_ref; |
39 | unsigned long xpt_flags; | ||
40 | #define XPT_BUSY 0 /* enqueued/receiving */ | ||
41 | #define XPT_CONN 1 /* conn pending */ | ||
42 | #define XPT_CLOSE 2 /* dead or dying */ | ||
43 | #define XPT_DATA 3 /* data pending */ | ||
44 | #define XPT_TEMP 4 /* connected transport */ | ||
45 | #define XPT_DEAD 6 /* transport closed */ | ||
46 | #define XPT_CHNGBUF 7 /* need to change snd/rcv buf sizes */ | ||
47 | #define XPT_DEFERRED 8 /* deferred request pending */ | ||
48 | #define XPT_OLD 9 /* used for xprt aging mark+sweep */ | ||
49 | #define XPT_DETACHED 10 /* detached from tempsocks list */ | ||
50 | #define XPT_LISTENER 11 /* listening endpoint */ | ||
39 | }; | 51 | }; |
40 | 52 | ||
41 | int svc_reg_xprt_class(struct svc_xprt_class *); | 53 | int svc_reg_xprt_class(struct svc_xprt_class *); |