diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-08-06 11:57:02 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-09 17:15:52 -0400 |
commit | fbfe3cc677c1a62ca6472abf24d03d4bf9f03a55 (patch) | |
tree | 65c5f2138ba7d8ce51c4fa2f983c25827502416b /include/linux/sunrpc | |
parent | 0c43b3d81cca46ab2469f8802f8bd68b49f1b2a5 (diff) |
SUNRPC: Add hex-formatted address support to rpc_peeraddr2str()
Add support for the NFS client's need to export volume information
with IP addresses formatted in hex instead of decimal.
This isn't used yet, but subsequent patches (not in this series) will
change the NFS client to use this functionality.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/xprt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index d11cedd14f0f..4596c26f97aa 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h | |||
@@ -53,6 +53,8 @@ enum rpc_display_format_t { | |||
53 | RPC_DISPLAY_PORT, | 53 | RPC_DISPLAY_PORT, |
54 | RPC_DISPLAY_PROTO, | 54 | RPC_DISPLAY_PROTO, |
55 | RPC_DISPLAY_ALL, | 55 | RPC_DISPLAY_ALL, |
56 | RPC_DISPLAY_HEX_ADDR, | ||
57 | RPC_DISPLAY_HEX_PORT, | ||
56 | RPC_DISPLAY_MAX, | 58 | RPC_DISPLAY_MAX, |
57 | }; | 59 | }; |
58 | 60 | ||