nfs-ganesha 1.4
|
#include <string.h>
#include <rpc/rpc.h>
#include <rpc/xdr.h>
#include <arpa/inet.h>
#include <pthread.h>
#include "nfs4.h"
#include "fsal_internal.h"
#include "fsal_convert.h"
#include "fsal_common.h"
#include "nfs_proto_functions.h"
#include "fsal_nfsv4_macros.h"
Go to the source code of this file.
Defines | |
#define | FSAL_CLIENTID_NB_OP_ALLOC 1 |
#define | FSAL_RENEW_LEASE_NB_OP_ALLOC 1 |
Functions | |
fsal_status_t | FSAL_proxy_setclientid_renego (proxyfsal_op_context_t *p_context) |
fsal_status_t | FSAL_proxy_setclientid (proxyfsal_op_context_t *p_context) |
void * | FSAL_proxy_clientid_renewer_thread (void *Arg) |
Variables | |
time_t | ServerBootTime |
clientid4 | fsal_clientid |
time_t | clientid_renewed |
pthread_mutex_t | fsal_clientid_mutex = PTHREAD_MUTEX_INITIALIZER |
pthread_mutex_t | fsal_clientid_mutex_renew = PTHREAD_MUTEX_INITIALIZER |
unsigned int | done = 0 |
#define FSAL_CLIENTID_NB_OP_ALLOC 1 |
#define FSAL_RENEW_LEASE_NB_OP_ALLOC 1 |
void* FSAL_proxy_clientid_renewer_thread | ( | void * | Arg | ) |
FSAL_proxy_clientid_renewer_thread: this thread is made for refreshing the clientid used by the FSAL, automatically.
This thread is made for refreshing the clientid used by the FSAL, automatically.
Definition at line 277 of file fsal_proxy_clientid.c.
fsal_status_t FSAL_proxy_setclientid | ( | proxyfsal_op_context_t * | p_context | ) |
FSAL_proxy_setclientid: Client ID negociation, step 1
p_context | (input): Authentication context for the operation (user,...). |
Definition at line 238 of file fsal_proxy_clientid.c.
fsal_status_t FSAL_proxy_setclientid_renego | ( | proxyfsal_op_context_t * | p_context | ) |
FSAL_proxy_setclientid_renego:
p_context | (input): Authentication context for the operation (user,...). |
Definition at line 209 of file fsal_proxy_clientid.c.
time_t clientid_renewed |
Definition at line 44 of file fsal_proxy_clientid.c.
unsigned int done = 0 |
Definition at line 47 of file fsal_proxy_clientid.c.
Definition at line 43 of file fsal_proxy_clientid.c.
pthread_mutex_t fsal_clientid_mutex = PTHREAD_MUTEX_INITIALIZER |
Definition at line 45 of file fsal_proxy_clientid.c.
pthread_mutex_t fsal_clientid_mutex_renew = PTHREAD_MUTEX_INITIALIZER |
Definition at line 46 of file fsal_proxy_clientid.c.
time_t ServerBootTime |
Definition at line 53 of file Convert_FSAL_Handle.c.