aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2006-08-22 20:06:17 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-09-22 23:24:45 -0400
commited39440a2573abc926f230267000f21fa5a87822 (patch)
treef9b6ba1ce3a7f94fc9d3f4a3e82eea3fdcc965a6 /include/linux
parentbbf7c1dd2ae2b4040b41b1065ee9b1b6905b1605 (diff)
SUNRPC: create API for getting remote peer address
Provide an API for retrieving the remote peer address without allowing direct access to the rpc_xprt struct. Test-plan: Compile kernel with CONFIG_NFS enabled. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sunrpc/clnt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h
index 2e68ac0aa022..65196b03f0ab 100644
--- a/include/linux/sunrpc/clnt.h
+++ b/include/linux/sunrpc/clnt.h
@@ -123,6 +123,7 @@ void rpc_setbufsize(struct rpc_clnt *, unsigned int, unsigned int);
123size_t rpc_max_payload(struct rpc_clnt *); 123size_t rpc_max_payload(struct rpc_clnt *);
124void rpc_force_rebind(struct rpc_clnt *); 124void rpc_force_rebind(struct rpc_clnt *);
125int rpc_ping(struct rpc_clnt *clnt, int flags); 125int rpc_ping(struct rpc_clnt *clnt, int flags);
126size_t rpc_peeraddr(struct rpc_clnt *, struct sockaddr *, size_t);
126 127
127/* 128/*
128 * Helper function for NFSroot support 129 * Helper function for NFSroot support