nfs4_kprot.h revision eac3aab7aa7e29942e099c28d9dcd8017972926d
1N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A#ifndef _NFS4_KPROT_H
1N/A#define _NFS4_KPROT_H
1N/A#ifdef __cplusplus
1N/Aenum nfs_ftype4 {
char *utf8string_val;
} utf8string;
} pathname4;
char *sec_oid4_val;
} sec_oid4;
struct nfstime4 {
enum time_how4 {
SET_TO_SERVER_TIME4 = 0,
struct settime4 {
char *nfs_fh4_val;
} nfs_fh4;
struct fsid4 {
struct fs_location4 {
struct fs_locations4 {
#define ACE4_VALID_FLAG_BITS (\
#define ACE4_VALID_MASK_BITS (\
ACE4_READ_DATA | \
ACE4_WRITE_DATA | \
ACE4_ADD_FILE | \
ACE4_APPEND_DATA | \
ACE4_EXECUTE | \
ACE4_DELETE | \
ACE4_READ_ACL | \
ACE4_WRITE_ACL | \
ACE4_WRITE_OWNER | \
struct nfsace4 {
typedef struct ace4vals {
int aent_type;
} ace4vals_t;
typedef struct ace4_list {
int numusers;
int numgroups;
int hasmask;
int dfacl_flag;
} ace4_list_t;
struct specdata4 {
} fattr4_acl;
#define FATTR4_SUPPORTED_ATTRS 0
struct fattr4 {
char *attrlist4;
struct change_info4 {
struct clientaddr4 {
char *r_netid;
char *r_addr;
struct cb_client4 {
struct stateid4 {
struct nfs_client_id4 {
char *id_val;
struct open_owner4 {
char *owner_val;
struct lock_owner4 {
char *owner_val;
enum nfs_lock_type4 {
struct ACCESS4args {
struct ACCESS4res {
struct CLOSE4args {
struct CLOSE4res {
struct COMMIT4args {
struct COMMIT4res {
struct CREATE4args {
} ftype4_u;
struct CREATE4cargs {
char *clinkdata;
} ftype4_u;
char *cname;
struct CREATE4res {
struct DELEGPURGE4args {
struct DELEGPURGE4res {
struct DELEGRETURN4args {
struct DELEGRETURN4res {
struct mntinfo4;
struct GETATTR4args {
struct nfs4_ga_ext_res;
struct nfs4_ga_res {
struct GETATTR4res {
struct GETFH4res {
struct LINK4args {
struct LINK4cargs {
char *cnewname;
struct LINK4res {
struct open_to_lock_owner4 {
struct exist_lock_owner4 {
struct locker4 {
} locker4_u;
struct LOCK4args {
struct LOCK4denied {
struct LOCK4res {
} LOCK4res_u;
struct LOCKT4args {
struct LOCKT4res {
struct LOCKU4args {
struct LOCKU4res {
struct LOOKUP4args {
struct LOOKUP4cargs {
char *cname;
struct LOOKUP4res {
struct LOOKUPP4res {
struct NVERIFY4args {
struct NVERIFY4res {
enum createmode4 {
UNCHECKED4 = 0,
enum opentype4 {
OPEN4_NOCREATE = 0,
enum limit_by4 {
struct nfs_modified_limit4 {
struct nfs_space_limit4 {
enum open_delegation_type4 {
OPEN_DELEGATE_NONE = 0,
enum open_claim_type4 {
CLAIM_NULL = 0,
struct open_claim_delegate_cur4 {
struct copen_claim_delegate_cur4 {
char *cfile;
struct OPEN4args {
} createhow4_u;
struct OPEN4cargs {
} createhow4_u;
char *cfile;
char *cfile_delegate_prev;
struct open_read_delegation4 {
struct open_write_delegation4 {
struct open_delegation4 {
struct OPEN4res {
struct OPENATTR4args {
struct OPENATTR4res {
struct OPEN_CONFIRM4args {
struct OPEN_CONFIRM4res {
struct OPEN_DOWNGRADE4args {
struct OPEN_DOWNGRADE4res {
struct PUTFH4args {
struct PUTFH4cargs {
void *sfh;
struct PUTFH4res {
struct PUTPUBFH4res {
struct PUTROOTFH4res {
struct READ4args {
char *res_data_val_alt;
struct READ4res {
char *data_val;
struct rddir4_cache;
struct READDIR4args {
hrtime_t t;
struct READDIR4res_clnt {
struct READDIR4res {
struct READLINK4res {
struct REMOVE4args {
struct REMOVE4cargs {
char *ctarget;
struct REMOVE4res {
struct RENAME4args {
struct RENAME4cargs {
char *coldname;
char *cnewname;
struct RENAME4res {
struct RENEW4args {
struct RENEW4res {
struct RESTOREFH4res {
struct SAVEFH4res {
struct SECINFO4args {
struct SECINFO4cargs {
char *cname;
enum rpc_gss_svc_t {
struct rpcsec_gss_info {
struct secinfo4 {
struct SECINFO4res {
struct SETATTR4args {
struct SETATTR4res {
struct SETCLIENTID4args {
struct SETCLIENTID4resok {
struct SETCLIENTID4res {
struct SETCLIENTID_CONFIRM4args {
struct SETCLIENTID_CONFIRM4res {
struct VERIFY4args {
struct VERIFY4res {
enum stable_how4 {
UNSTABLE4 = 0,
struct WRITE4args {
char *data_val;
struct WRITE4res {
struct RELEASE_LOCKOWNER4args {
struct RELEASE_LOCKOWNER4res {
struct ILLEGAL4res {
enum nfs_opnum4 {
struct nfs_argop4 {
} nfs_argop4_u;
struct nfs_resop4 {
} nfs_resop4_u;
struct _ctag {
int ct_type;
char *ct_str;
struct COMPOUND4args_clnt {
int ctag;
struct COMPOUND4args {
struct COMPOUND4res_clnt {
struct COMPOUND4res {
struct CB_GETATTR4args {
struct CB_GETATTR4res {
struct CB_RECALL4args {
struct CB_RECALL4res {
struct CB_ILLEGAL4res {
enum nfs_cb_opnum4 {
struct nfs_cb_argop4 {
struct nfs_cb_resop4 {
struct CB_COMPOUND4args {
struct CB_COMPOUND4res {
#define NFSPROC4_NULL 0
#define CB_NULL 0
#ifdef __cplusplus