aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc')
-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 7b6b137eca9..6992ff02d73 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