Skip to content
Snippets Groups Projects
Commit b4ab2fea authored by Chuck Lever's avatar Chuck Lever
Browse files

SUNRPC: Add RPC_AUTH_TLS protocol numbers

parent d02a3a2c
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ enum rpc_auth_flavors { ...@@ -20,6 +20,7 @@ enum rpc_auth_flavors {
RPC_AUTH_DES = 3, RPC_AUTH_DES = 3,
RPC_AUTH_KRB = 4, RPC_AUTH_KRB = 4,
RPC_AUTH_GSS = 6, RPC_AUTH_GSS = 6,
RPC_AUTH_TLS = 7,
RPC_AUTH_MAXFLAVOR = 8, RPC_AUTH_MAXFLAVOR = 8,
/* pseudoflavors: */ /* pseudoflavors: */
RPC_AUTH_GSS_KRB5 = 390003, RPC_AUTH_GSS_KRB5 = 390003,
......
...@@ -95,6 +95,7 @@ xdr_buf_init(struct xdr_buf *buf, void *start, size_t len) ...@@ -95,6 +95,7 @@ xdr_buf_init(struct xdr_buf *buf, void *start, size_t len)
#define rpc_auth_unix cpu_to_be32(RPC_AUTH_UNIX) #define rpc_auth_unix cpu_to_be32(RPC_AUTH_UNIX)
#define rpc_auth_short cpu_to_be32(RPC_AUTH_SHORT) #define rpc_auth_short cpu_to_be32(RPC_AUTH_SHORT)
#define rpc_auth_gss cpu_to_be32(RPC_AUTH_GSS) #define rpc_auth_gss cpu_to_be32(RPC_AUTH_GSS)
#define rpc_auth_tls cpu_to_be32(RPC_AUTH_TLS)
#define rpc_call cpu_to_be32(RPC_CALL) #define rpc_call cpu_to_be32(RPC_CALL)
#define rpc_reply cpu_to_be32(RPC_REPLY) #define rpc_reply cpu_to_be32(RPC_REPLY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment