aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/xprt.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2006-12-05 16:35:19 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-12-06 10:46:49 -0500
commit51971139b2342fa1005e87bbfcb52305da3fe891 (patch)
treee3d48890ba589ba9f08c33480a14dfd90db7dba5 /include/linux/sunrpc/xprt.h
parentee0ac0c227c2a2b6dd1b33c23831100ee895dacf (diff)
SUNRPC: Move TCP receive state variables into private data structure
Move the TCP receive state variables from the generic rpc_xprt structure to a private structure maintained inside net/sunrpc/xprtsock.c. Also rename a function/variable pair to refer to RPC fragment headers instead of record markers, to be consistent with types defined in sunrpc/*.h. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/xprt.h')
-rw-r--r--include/linux/sunrpc/xprt.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h
index 4c074a73670c..0a0ad1ce70e4 100644
--- a/include/linux/sunrpc/xprt.h
+++ b/include/linux/sunrpc/xprt.h
@@ -158,15 +158,6 @@ struct rpc_xprt {
158 resvport : 1; /* use a reserved port */ 158 resvport : 1; /* use a reserved port */
159 159
160 /* 160 /*
161 * State of TCP reply receive stuff
162 */
163 __be32 tcp_recm, /* Fragment header */
164 tcp_xid; /* Current XID */
165 u32 tcp_reclen, /* fragment length */
166 tcp_offset; /* fragment offset */
167 unsigned long tcp_copied, /* copied to request */
168 tcp_flags;
169 /*
170 * Connection of transports 161 * Connection of transports
171 */ 162 */
172 unsigned long connect_timeout, 163 unsigned long connect_timeout,