Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-13041 lnet: fix router primary_nid deletion
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
gss
/
gss_api.h
diff --git
a/lustre/ptlrpc/gss/gss_api.h
b/lustre/ptlrpc/gss/gss_api.h
index
1983143
..
a5f203e
100644
(file)
--- a/
lustre/ptlrpc/gss/gss_api.h
+++ b/
lustre/ptlrpc/gss/gss_api.h
@@
-1,9
+1,7
@@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
* Modifications for Lustre
*
* Modifications for Lustre
*
- * Copyright
2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright
(c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
*
* Author: Eric Mei <ericm@clusterfs.com>
*/
*
* Author: Eric Mei <ericm@clusterfs.com>
*/
@@
-23,10
+21,16
@@
struct gss_api_mech;
struct gss_api_mech;
+typedef int (*digest_hash)(
+ struct ahash_request *req, rawobj_t *hdr,
+ int msgcnt, rawobj_t *msgs,
+ int iovcnt, lnet_kiov_t *iovs);
+
/* The mechanism-independent gss-api context: */
struct gss_ctx {
/* The mechanism-independent gss-api context: */
struct gss_ctx {
- struct gss_api_mech *mech_type;
- void *internal_ctx_id;
+ struct gss_api_mech *mech_type;
+ void *internal_ctx_id;
+ digest_hash hash_func;
};
#define GSS_C_NO_BUFFER ((rawobj_t) 0)
};
#define GSS_C_NO_BUFFER ((rawobj_t) 0)
@@
-46,7
+50,7
@@
__u32 lgss_copy_reverse_context(
struct gss_ctx **ctx_new);
__u32 lgss_inquire_context(
struct gss_ctx *ctx,
struct gss_ctx **ctx_new);
__u32 lgss_inquire_context(
struct gss_ctx *ctx,
-
unsigned long
*endtime);
+
time64_t
*endtime);
__u32 lgss_get_mic(
struct gss_ctx *ctx,
int msgcnt,
__u32 lgss_get_mic(
struct gss_ctx *ctx,
int msgcnt,
@@
-101,14
+105,14
@@
struct subflavor_desc {
/* Each mechanism is described by the following struct: */
struct gss_api_mech {
/* Each mechanism is described by the following struct: */
struct gss_api_mech {
-
cfs_list_t
gm_list;
-
cfs_module_t
*gm_owner;
-
char *gm_name;
-
rawobj_t gm_oid;
-
cfs_atomic_t
gm_count;
-
struct gss_api_ops *gm_ops;
-
int gm_sf_num;
-
struct subflavor_desc *gm_sfs;
+
struct list_head
gm_list;
+
struct module
*gm_owner;
+ char *gm_name;
+ rawobj_t gm_oid;
+
atomic_t
gm_count;
+ struct gss_api_ops *gm_ops;
+ int gm_sf_num;
+ struct subflavor_desc *gm_sfs;
};
/* and must provide the following operations: */
};
/* and must provide the following operations: */
@@
-121,7
+125,7
@@
struct gss_api_ops {
struct gss_ctx *ctx_new);
__u32 (*gss_inquire_context)(
struct gss_ctx *ctx,
struct gss_ctx *ctx_new);
__u32 (*gss_inquire_context)(
struct gss_ctx *ctx,
-
unsigned long
*endtime);
+
time64_t
*endtime);
__u32 (*gss_get_mic)(
struct gss_ctx *ctx,
int msgcnt,
__u32 (*gss_get_mic)(
struct gss_ctx *ctx,
int msgcnt,