diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-03-30 14:33:33 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-03-31 09:52:52 -0400 |
commit | dbbc14775ae395a50d91f22904670ca4c9297542 (patch) | |
tree | 7b8fd139b5d6f634c1d00b70cd04e245e56a9718 | |
parent | e42391cd048809d903291d07f86ed3934ce138e9 (diff) |
SUNRPC: Introduce missing well-known netids
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
-rw-r--r-- | include/linux/sunrpc/msg_prot.h | 8 | ||||
-rw-r--r-- | include/linux/sunrpc/xprtrdma.h | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/include/linux/sunrpc/msg_prot.h b/include/linux/sunrpc/msg_prot.h index aadc6a04e1ac..807371357160 100644 --- a/include/linux/sunrpc/msg_prot.h +++ b/include/linux/sunrpc/msg_prot.h | |||
@@ -142,12 +142,18 @@ typedef __be32 rpc_fraghdr; | |||
142 | (RPC_REPHDRSIZE + (2 + RPC_MAX_AUTH_SIZE/4)) | 142 | (RPC_REPHDRSIZE + (2 + RPC_MAX_AUTH_SIZE/4)) |
143 | 143 | ||
144 | /* | 144 | /* |
145 | * RFC1833/RFC3530 rpcbind (v3+) well-known netid's. | 145 | * Well-known netids. See: |
146 | * | ||
147 | * http://www.iana.org/assignments/rpc-netids/rpc-netids.xhtml | ||
146 | */ | 148 | */ |
147 | #define RPCBIND_NETID_UDP "udp" | 149 | #define RPCBIND_NETID_UDP "udp" |
148 | #define RPCBIND_NETID_TCP "tcp" | 150 | #define RPCBIND_NETID_TCP "tcp" |
151 | #define RPCBIND_NETID_RDMA "rdma" | ||
152 | #define RPCBIND_NETID_SCTP "sctp" | ||
149 | #define RPCBIND_NETID_UDP6 "udp6" | 153 | #define RPCBIND_NETID_UDP6 "udp6" |
150 | #define RPCBIND_NETID_TCP6 "tcp6" | 154 | #define RPCBIND_NETID_TCP6 "tcp6" |
155 | #define RPCBIND_NETID_RDMA6 "rdma6" | ||
156 | #define RPCBIND_NETID_SCTP6 "sctp6" | ||
151 | #define RPCBIND_NETID_LOCAL "local" | 157 | #define RPCBIND_NETID_LOCAL "local" |
152 | 158 | ||
153 | /* | 159 | /* |
diff --git a/include/linux/sunrpc/xprtrdma.h b/include/linux/sunrpc/xprtrdma.h index 64a0a0a97b23..c984c85981ea 100644 --- a/include/linux/sunrpc/xprtrdma.h +++ b/include/linux/sunrpc/xprtrdma.h | |||
@@ -41,11 +41,6 @@ | |||
41 | #define _LINUX_SUNRPC_XPRTRDMA_H | 41 | #define _LINUX_SUNRPC_XPRTRDMA_H |
42 | 42 | ||
43 | /* | 43 | /* |
44 | * rpcbind (v3+) RDMA netid. | ||
45 | */ | ||
46 | #define RPCBIND_NETID_RDMA "rdma" | ||
47 | |||
48 | /* | ||
49 | * Constants. Max RPC/NFS header is big enough to account for | 44 | * Constants. Max RPC/NFS header is big enough to account for |
50 | * additional marshaling buffers passed down by Linux client. | 45 | * additional marshaling buffers passed down by Linux client. |
51 | * | 46 | * |