ACIL FM
Dark
Refresh
Current DIR:
/usr/src/kernels/5.14.0-427.31.1.el9_4.x86_64/include/linux/sunrpc
/
usr
src
kernels
5.14.0-427.31.1.el9_4.x86_64
include
linux
sunrpc
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
addr.h
4.94 MB
chmod
View
DL
Edit
Rename
Delete
auth.h
6.11 MB
chmod
View
DL
Edit
Rename
Delete
auth_gss.h
2.31 MB
chmod
View
DL
Edit
Rename
Delete
bc_xprt.h
2.78 MB
chmod
View
DL
Edit
Rename
Delete
cache.h
8.96 MB
chmod
View
DL
Edit
Rename
Delete
clnt.h
9.01 MB
chmod
View
DL
Edit
Rename
Delete
debug.h
2.76 MB
chmod
View
DL
Edit
Rename
Delete
gss_api.h
4.45 MB
chmod
View
DL
Edit
Rename
Delete
gss_asn1.h
3.11 MB
chmod
View
DL
Edit
Rename
Delete
gss_err.h
5.88 MB
chmod
View
DL
Edit
Rename
Delete
gss_krb5.h
6.32 MB
chmod
View
DL
Edit
Rename
Delete
metrics.h
3.68 MB
chmod
View
DL
Edit
Rename
Delete
msg_prot.h
6.21 MB
chmod
View
DL
Edit
Rename
Delete
rpc_pipe_fs.h
3.85 MB
chmod
View
DL
Edit
Rename
Delete
rpc_rdma.h
6.07 MB
chmod
View
DL
Edit
Rename
Delete
rpc_rdma_cid.h
622 B
chmod
View
DL
Edit
Rename
Delete
sched.h
9.91 MB
chmod
View
DL
Edit
Rename
Delete
stats.h
2 MB
chmod
View
DL
Edit
Rename
Delete
svc.h
18.39 MB
chmod
View
DL
Edit
Rename
Delete
svcauth.h
6.01 MB
chmod
View
DL
Edit
Rename
Delete
svcauth_gss.h
782 B
chmod
View
DL
Edit
Rename
Delete
svcsock.h
2.18 MB
chmod
View
DL
Edit
Rename
Delete
svc_rdma.h
7.63 MB
chmod
View
DL
Edit
Rename
Delete
svc_rdma_pcl.h
3.13 MB
chmod
View
DL
Edit
Rename
Delete
svc_xprt.h
7.33 MB
chmod
View
DL
Edit
Rename
Delete
timer.h
1.14 MB
chmod
View
DL
Edit
Rename
Delete
types.h
497 B
chmod
View
DL
Edit
Rename
Delete
xdr.h
22.31 MB
chmod
View
DL
Edit
Rename
Delete
xprt.h
16.56 MB
chmod
View
DL
Edit
Rename
Delete
xprtmultipath.h
2.41 MB
chmod
View
DL
Edit
Rename
Delete
xprtrdma.h
2.95 MB
chmod
View
DL
Edit
Rename
Delete
xprtsock.h
1.85 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/src/kernels/5.14.0-427.31.1.el9_4.x86_64/include/linux/sunrpc/gss_api.h
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/linux/sunrpc/gss_api.h * * Somewhat simplified version of the gss api. * * Dug Song <dugsong@monkey.org> * Andy Adamson <andros@umich.edu> * Bruce Fields <bfields@umich.edu> * Copyright (c) 2000 The Regents of the University of Michigan */ #ifndef _LINUX_SUNRPC_GSS_API_H #define _LINUX_SUNRPC_GSS_API_H #include <linux/sunrpc/xdr.h> #include <linux/sunrpc/msg_prot.h> #include <linux/uio.h> /* The mechanism-independent gss-api context: */ struct gss_ctx { struct gss_api_mech *mech_type; void *internal_ctx_id; unsigned int slack, align; }; #define GSS_C_NO_BUFFER ((struct xdr_netobj) 0) #define GSS_C_NO_CONTEXT ((struct gss_ctx *) 0) #define GSS_C_QOP_DEFAULT (0) /*XXX arbitrary length - is this set somewhere? */ #define GSS_OID_MAX_LEN 32 struct rpcsec_gss_oid { unsigned int len; u8 data[GSS_OID_MAX_LEN]; }; /* From RFC 3530 */ struct rpcsec_gss_info { struct rpcsec_gss_oid oid; u32 qop; u32 service; }; /* gss-api prototypes; note that these are somewhat simplified versions of * the prototypes specified in RFC 2744. */ int gss_import_sec_context( const void* input_token, size_t bufsize, struct gss_api_mech *mech, struct gss_ctx **ctx_id, time64_t *endtime, gfp_t gfp_mask); u32 gss_get_mic( struct gss_ctx *ctx_id, struct xdr_buf *message, struct xdr_netobj *mic_token); u32 gss_verify_mic( struct gss_ctx *ctx_id, struct xdr_buf *message, struct xdr_netobj *mic_token); u32 gss_wrap( struct gss_ctx *ctx_id, int offset, struct xdr_buf *outbuf, struct page **inpages); u32 gss_unwrap( struct gss_ctx *ctx_id, int offset, int len, struct xdr_buf *inbuf); u32 gss_delete_sec_context( struct gss_ctx **ctx_id); rpc_authflavor_t gss_svc_to_pseudoflavor(struct gss_api_mech *, u32 qop, u32 service); u32 gss_pseudoflavor_to_service(struct gss_api_mech *, u32 pseudoflavor); bool gss_pseudoflavor_to_datatouch(struct gss_api_mech *, u32 pseudoflavor); char *gss_service_to_auth_domain_name(struct gss_api_mech *, u32 service); struct pf_desc { u32 pseudoflavor; u32 qop; u32 service; char *name; char *auth_domain_name; struct auth_domain *domain; bool datatouch; }; /* Different mechanisms (e.g., krb5 or spkm3) may implement gss-api, and * mechanisms may be dynamically registered or unregistered by modules. */ /* Each mechanism is described by the following struct: */ struct gss_api_mech { struct list_head gm_list; struct module *gm_owner; struct rpcsec_gss_oid gm_oid; char *gm_name; const struct gss_api_ops *gm_ops; /* pseudoflavors supported by this mechanism: */ int gm_pf_num; struct pf_desc * gm_pfs; /* Should the following be a callback operation instead? */ const char *gm_upcall_enctypes; }; /* and must provide the following operations: */ struct gss_api_ops { int (*gss_import_sec_context)( const void *input_token, size_t bufsize, struct gss_ctx *ctx_id, time64_t *endtime, gfp_t gfp_mask); u32 (*gss_get_mic)( struct gss_ctx *ctx_id, struct xdr_buf *message, struct xdr_netobj *mic_token); u32 (*gss_verify_mic)( struct gss_ctx *ctx_id, struct xdr_buf *message, struct xdr_netobj *mic_token); u32 (*gss_wrap)( struct gss_ctx *ctx_id, int offset, struct xdr_buf *outbuf, struct page **inpages); u32 (*gss_unwrap)( struct gss_ctx *ctx_id, int offset, int len, struct xdr_buf *buf); void (*gss_delete_sec_context)( void *internal_ctx_id); }; int gss_mech_register(struct gss_api_mech *); void gss_mech_unregister(struct gss_api_mech *); /* returns a mechanism descriptor given an OID, and increments the mechanism's * reference count. */ struct gss_api_mech * gss_mech_get_by_OID(struct rpcsec_gss_oid *); /* Given a GSS security tuple, look up a pseudoflavor */ rpc_authflavor_t gss_mech_info2flavor(struct rpcsec_gss_info *); /* Given a pseudoflavor, look up a GSS security tuple */ int gss_mech_flavor2info(rpc_authflavor_t, struct rpcsec_gss_info *); /* Returns a reference to a mechanism, given a name like "krb5" etc. */ struct gss_api_mech *gss_mech_get_by_name(const char *); /* Similar, but get by pseudoflavor. */ struct gss_api_mech *gss_mech_get_by_pseudoflavor(u32); struct gss_api_mech * gss_mech_get(struct gss_api_mech *); /* For every successful gss_mech_get or gss_mech_get_by_* call there must be a * corresponding call to gss_mech_put. */ void gss_mech_put(struct gss_api_mech *); #endif /* _LINUX_SUNRPC_GSS_API_H */
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply