|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <wintirpc.h>#include <reentrant.h>#include <string.h>#include <stdlib.h>#include <stdio.h>#include <rpc/des_crypt.h>#include <rpc/types.h>#include <rpc/xdr.h>#include <rpc/auth.h>#include <rpc/auth_des.h>#include <rpc/svc.h>#include <rpc/rpc_msg.h>#include <rpc/svc_auth.h>#include <libc_private.h>
Go to the source code of this file.
Classes | |
| struct | cache_entry |
Macros | |
| #define | debug(msg) printf("svcauth_des: %s\n", msg) |
| #define | USEC_PER_SEC ((u_long) 1000000L) |
| #define | BEFORE(t1, t2) timercmp(t1, t2, <) |
| #define | AUTHDES_CACHESZ 64 |
Functions | |
| int | key_decryptsession_pk (const char *, netobj *, des_block *) |
| static void | cache_init () |
| static short | cache_spot () |
| static void | cache_ref () |
| static void | invalidate () |
| enum auth_stat | _svcauth_des (struct svc_req *rqst, struct rpc_msg *msg) |
| static short | cache_victim () |
| static void | cache_ref (short sid) |
| static short | cache_spot (des_block *key, char *name, struct timeval *timestamp) |
Variables | |
| static struct cache_entry * | authdes_cache |
| static short * | authdes_lru |
| struct { | |
| u_long ncachehits | |
| u_long ncachereplays | |
| u_long ncachemisses | |
| } | svcauthdes_stats |
| #define AUTHDES_CACHESZ 64 |
Definition at line 76 of file svc_auth_des.c.
Definition at line 71 of file svc_auth_des.c.
Definition at line 70 of file svc_auth_des.c.
Definition at line 106 of file svc_auth_des.c.
Referenced by _authenticate().
|
static |
Definition at line 352 of file svc_auth_des.c.
Referenced by _svcauth_des(), and nfs41_idmap_create().
|
static |
Referenced by _svcauth_des().
Definition at line 384 of file svc_auth_des.c.
|
static |
Referenced by _svcauth_des().
Definition at line 407 of file svc_auth_des.c.
|
static |
Definition at line 375 of file svc_auth_des.c.
Referenced by cache_spot().
|
static |
Referenced by _svcauth_des(), and wrap_marked_paras_dc().
|
static |
Definition at line 84 of file svc_auth_des.c.
Referenced by _svcauth_des(), cache_init(), and cache_spot().
|
static |
Definition at line 85 of file svc_auth_des.c.
Referenced by cache_init(), cache_ref(), and cache_victim().
| u_long ncachehits |
Definition at line 97 of file svc_auth_des.c.
| u_long ncachemisses |
Definition at line 99 of file svc_auth_des.c.
| u_long ncachereplays |
Definition at line 98 of file svc_auth_des.c.
| struct { ... } svcauthdes_stats |
Referenced by cache_spot().