diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2021-06-24 06:28:48 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-07-08 21:03:24 +0300 |
commit | a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 (patch) | |
tree | 3f3a8b81e1df1cde26b865f10fe48c2652c084da /include | |
parent | 0e65ea43d9c7c038e167b20165a0e9ed1e9cca83 (diff) | |
download | linux-a8482488a7d6d320f63a9ee1912dbb5ae5b80a61.tar.xz |
SUNRPC query transport's source port
Provide ability to query transport's source port.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/xprtsock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprtsock.h b/include/linux/sunrpc/xprtsock.h index 3c1423ee74b4..8c2a712cb242 100644 --- a/include/linux/sunrpc/xprtsock.h +++ b/include/linux/sunrpc/xprtsock.h @@ -10,6 +10,7 @@ int init_socket_xprt(void); void cleanup_socket_xprt(void); +unsigned short get_srcport(struct rpc_xprt *); #define RPC_MIN_RESVPORT (1U) #define RPC_MAX_RESVPORT (65535U) |