diff options
author | Amar Tumballi <amarts@redhat.com> | 2017-11-07 00:07:12 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2018-01-17 06:00:39 +0000 |
commit | 75b063d76d78b5d1e0e53a1be37dc5ad9200f7b2 (patch) | |
tree | ae9149d96a2f850c2128de0328e13634fec09a5e /rpc/rpc-lib/src/xdr-rpc.h | |
parent | e3a191a0d3ea0706f4827ebdb6e5161623f2c5f1 (diff) |
rpc/*: auth-header changes
Introduce another authentication header which can now send more data.
This is useful because this data can be common for all the fops, and
we don't need to change all the signatures.
As part of this, made rpc-clnt.c little more modular to support multiple
authentication structures.
stack.h changes are placeholder for the ctime etc, can be moved later
based on need.
updates #384
Change-Id: I6111c13cfd2ec92e2b4e9295896bf62a8a33b2c7
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'rpc/rpc-lib/src/xdr-rpc.h')
-rw-r--r-- | rpc/rpc-lib/src/xdr-rpc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/xdr-rpc.h b/rpc/rpc-lib/src/xdr-rpc.h index ec24ca8200a..5560e89328f 100644 --- a/rpc/rpc-lib/src/xdr-rpc.h +++ b/rpc/rpc-lib/src/xdr-rpc.h @@ -31,6 +31,7 @@ typedef enum { AUTH_GLUSTERFS = 5, AUTH_GLUSTERFS_v2 = 390039, /* using a number from 'unused' range, from the list available in RFC5531 */ + AUTH_GLUSTERFS_v3 = 390040, /* this too is unused */ } gf_rpc_authtype_t; /* Converts a given network buffer from its XDR format to a structure |