summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-08-16 16:03:26 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:16:29 -0400
commit756805e7a76bcd2aae07fe31786fe453375e60b1 (patch)
treef741760cde49f5f9f433d6996300f44a916a743c /include/linux/sunrpc
parent8945ee5e27156ef9708bc3a11da87ba689aa38b6 (diff)
downloadop-kernel-dev-756805e7a76bcd2aae07fe31786fe453375e60b1.zip
op-kernel-dev-756805e7a76bcd2aae07fe31786fe453375e60b1.tar.gz
SUNRPC: Add support for formatted universal addresses
"Universal addresses" are a string representation of an IP address and port. They are described fully in RFC 3530, section 2.2. Add support for generating them in the RPC client's socket transport module. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/xprt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h
index 4596c26..902a9c0 100644
--- a/include/linux/sunrpc/xprt.h
+++ b/include/linux/sunrpc/xprt.h
@@ -55,6 +55,7 @@ enum rpc_display_format_t {
RPC_DISPLAY_ALL,
RPC_DISPLAY_HEX_ADDR,
RPC_DISPLAY_HEX_PORT,
+ RPC_DISPLAY_UNIVERSAL_ADDR,
RPC_DISPLAY_MAX,
};
OpenPOWER on IntegriCloud