aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
author\"Talpey, Thomas\ <Thomas.Talpey@netapp.com>2007-09-10 13:47:07 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:17:45 -0400
commit3c341b0b925eee01daae2c594b81e673f659d7cd (patch)
tree029db06dc895097b88c6765d349ce254db333bfd /include
parentbc25571e21e8bd053554209f5b1b228ad71e6b99 (diff)
SUNRPC: rename the rpc_xprtsock_create structure
To prepare for including non-sockets-based RPC transports, change the overly suggestive name of the transport creation arguments struct. Signed-off-by: Tom Talpey <tmt@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/xprt.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h
index 7b6b137eca97..6992ff02d737 100644
--- a/include/linux/sunrpc/xprt.h
+++ b/include/linux/sunrpc/xprt.h
@@ -200,7 +200,7 @@ struct rpc_xprt {
200 char * address_strings[RPC_DISPLAY_MAX]; 200 char * address_strings[RPC_DISPLAY_MAX];
201}; 201};
202 202
203struct rpc_xprtsock_create { 203struct xprt_create {
204 int proto; /* IPPROTO_UDP or IPPROTO_TCP */ 204 int proto; /* IPPROTO_UDP or IPPROTO_TCP */
205 struct sockaddr * srcaddr; /* optional local address */ 205 struct sockaddr * srcaddr; /* optional local address */
206 struct sockaddr * dstaddr; /* remote peer address */ 206 struct sockaddr * dstaddr; /* remote peer address */
@@ -212,7 +212,7 @@ struct xprt_class {
212 struct list_head list; 212 struct list_head list;
213 unsigned short family; 213 unsigned short family;
214 int protocol; 214 int protocol;
215 struct rpc_xprt * (*setup)(struct rpc_xprtsock_create *); 215 struct rpc_xprt * (*setup)(struct xprt_create *);
216 struct module *owner; 216 struct module *owner;
217 char name[32]; 217 char name[32];
218}; 218};
@@ -225,7 +225,7 @@ void xprt_set_timeout(struct rpc_timeout *to, unsigned int retr, unsigned long
225/* 225/*
226 * Generic internal transport functions 226 * Generic internal transport functions
227 */ 227 */
228struct rpc_xprt * xprt_create_transport(struct rpc_xprtsock_create *args); 228struct rpc_xprt *xprt_create_transport(struct xprt_create *args);
229void xprt_connect(struct rpc_task *task); 229void xprt_connect(struct rpc_task *task);
230void xprt_reserve(struct rpc_task *task); 230void xprt_reserve(struct rpc_task *task);
231int xprt_reserve_xprt(struct rpc_task *task); 231int xprt_reserve_xprt(struct rpc_task *task);
@@ -265,8 +265,8 @@ void xprt_disconnect(struct rpc_xprt *xprt);
265/* 265/*
266 * Socket transport setup operations 266 * Socket transport setup operations
267 */ 267 */
268struct rpc_xprt * xs_setup_udp(struct rpc_xprtsock_create *args); 268struct rpc_xprt *xs_setup_udp(struct xprt_create *args);
269struct rpc_xprt * xs_setup_tcp(struct rpc_xprtsock_create *args); 269struct rpc_xprt *xs_setup_tcp(struct xprt_create *args);
270int init_socket_xprt(void); 270int init_socket_xprt(void);
271void cleanup_socket_xprt(void); 271void cleanup_socket_xprt(void);
272 272