| nfs-ganesha 1.4 | 
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "ganesha_rpc.h"#include "rpcal.h"#include <gssapi/gssapi.h>#include <gssapi/gssapi_generic.h>#include "nfs_core.h"#include "log.h"Go to the source code of this file.
| Defines | |
| #define | SVCAUTH_DESTROY(auth) ((*((auth)->svc_ah_ops->svc_ah_destroy))(auth)) | 
| #define | ret_freegc(code) do { retstat = code; goto freegc; } while (0) | 
| #define | RPC_SLACK_SPACE 1024 | 
| Functions | |
| const char * | str_gc_proc (rpc_gss_proc_t gc_proc) | 
| void | log_sperror_gss (char *outmsg, OM_uint32 maj_stat, OM_uint32 min_stat) | 
| bool_t | Svcauth_gss_set_svc_name (gss_name_t name) | 
| bool_t | Svcauth_gss_import_name (char *service) | 
| bool_t | Svcauth_gss_acquire_cred (void) | 
| int | sprint_ctx (char *buff, unsigned char *ctx, int len) | 
| enum auth_stat | Gssrpc__svcauth_gss (struct svc_req *rqst, struct rpc_msg *msg, bool_t *no_dispatch) | 
| bool_t | Xdr_rpc_gss_buf (XDR *xdrs, gss_buffer_t buf, u_int maxsize) | 
| bool_t | Xdr_rpc_gss_wrap_data (XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr, gss_ctx_id_t ctx, gss_qop_t qop, rpc_gss_svc_t svc, u_int seq) | 
| bool_t | Xdr_rpc_gss_unwrap_data (XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr, gss_ctx_id_t ctx, gss_qop_t qop, rpc_gss_svc_t svc, u_int seq) | 
| bool_t | Xdr_rpc_gss_data (XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr, gss_ctx_id_t ctx, gss_qop_t qop, rpc_gss_svc_t svc, u_int seq) | 
| int | copy_svc_authgss (SVCXPRT *xprt_copy, SVCXPRT *xprt_orig) | 
| Variables | |
| SVCAUTH | Svc_auth_none | 
| struct svc_auth_ops | Svc_auth_gss_ops | 
| struct svc_auth_ops | Svc_auth_gss_copy_ops | 
| gss_cred_id_t | svcauth_gss_creds | 
| #define ret_freegc | ( | code | ) | do { retstat = code; goto freegc; } while (0) | 
Definition at line 516 of file Svc_auth_gss.c.
| #define RPC_SLACK_SPACE 1024 | 
Definition at line 936 of file Svc_auth_gss.c.
| #define SVCAUTH_DESTROY | ( | auth | ) | ((*((auth)->svc_ah_ops->svc_ah_destroy))(auth)) | 
Definition at line 74 of file Svc_auth_gss.c.
| int copy_svc_authgss | ( | SVCXPRT * | xprt_copy, | 
| SVCXPRT * | xprt_orig | ||
| ) | 
Definition at line 1202 of file Svc_auth_gss.c.
| enum auth_stat Gssrpc__svcauth_gss | ( | struct svc_req * | rqst, | 
| struct rpc_msg * | msg, | ||
| bool_t * | no_dispatch | ||
| ) | 
Definition at line 519 of file Svc_auth_gss.c.
| void log_sperror_gss | ( | char * | outmsg, | 
| OM_uint32 | maj_stat, | ||
| OM_uint32 | min_stat | ||
| ) | 
sperror_gss: converts GSSAPI status to a string.
| outmsg | [OUT] output string | 
| tag | [IN] input tag | 
| maj_stat | [IN] GSSAPI major status | 
| min_stat | [IN] GSSAPI minor status | 
Definition at line 131 of file Svc_auth_gss.c.
| int sprint_ctx | ( | char * | buff, | 
| unsigned char * | ctx, | ||
| int | len | ||
| ) | 
Definition at line 370 of file Svc_auth_gss.c.
| const char* str_gc_proc | ( | rpc_gss_proc_t | gc_proc | ) | 
Definition at line 106 of file Svc_auth_gss.c.
| bool_t Svcauth_gss_acquire_cred | ( | void | ) | 
Definition at line 221 of file Svc_auth_gss.c.
| bool_t Svcauth_gss_import_name | ( | char * | service | ) | 
Definition at line 194 of file Svc_auth_gss.c.
| bool_t Svcauth_gss_set_svc_name | ( | gss_name_t | name | ) | 
Definition at line 166 of file Svc_auth_gss.c.
| bool_t Xdr_rpc_gss_buf | ( | XDR * | xdrs, | 
| gss_buffer_t | buf, | ||
| u_int | maxsize | ||
| ) | 
Definition at line 939 of file Svc_auth_gss.c.
| bool_t Xdr_rpc_gss_data | ( | XDR * | xdrs, | 
| xdrproc_t | xdr_func, | ||
| caddr_t | xdr_ptr, | ||
| gss_ctx_id_t | ctx, | ||
| gss_qop_t | qop, | ||
| rpc_gss_svc_t | svc, | ||
| u_int | seq | ||
| ) | 
Definition at line 1132 of file Svc_auth_gss.c.
| bool_t Xdr_rpc_gss_unwrap_data | ( | XDR * | xdrs, | 
| xdrproc_t | xdr_func, | ||
| caddr_t | xdr_ptr, | ||
| gss_ctx_id_t | ctx, | ||
| gss_qop_t | qop, | ||
| rpc_gss_svc_t | svc, | ||
| u_int | seq | ||
| ) | 
Definition at line 1033 of file Svc_auth_gss.c.
| bool_t Xdr_rpc_gss_wrap_data | ( | XDR * | xdrs, | 
| xdrproc_t | xdr_func, | ||
| caddr_t | xdr_ptr, | ||
| gss_ctx_id_t | ctx, | ||
| gss_qop_t | qop, | ||
| rpc_gss_svc_t | svc, | ||
| u_int | seq | ||
| ) | 
Definition at line 965 of file Svc_auth_gss.c.
| struct svc_auth_ops Svc_auth_gss_copy_ops | 
 {
  Svcauth_gss_wrap,
  Svcauth_gss_unwrap,
  Svcauth_gss_destroy_copy
}
Definition at line 100 of file Svc_auth_gss.c.
| struct svc_auth_ops Svc_auth_gss_ops | 
 {
  Svcauth_gss_wrap,
  Svcauth_gss_unwrap,
  Svcauth_gss_destroy
}
Definition at line 94 of file Svc_auth_gss.c.
Definition at line 53 of file Svc_auth_none.c.
| gss_cred_id_t svcauth_gss_creds | 
Definition at line 163 of file Svc_auth_gss.c.
 1.7.3
 1.7.3