X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/7fdcfb68739b807519337517e2ae579a5ef932d4..47fc89d711eec0a073d9b3b293a1af901b5bd791:/nfs.h diff --git a/nfs.h b/nfs.h index 44b834fd..056a9099 100644 --- a/nfs.h +++ b/nfs.h @@ -1,4 +1,4 @@ -/* $NetBSD: nfs.h,v 1.1 1996/05/23 22:49:53 fvdl Exp $ */ +/* NetBSD: nfs.h,v 1.1 1996/05/23 22:49:53 fvdl Exp */ /* * Copyright (c) 1989, 1993 @@ -214,6 +214,7 @@ #define NFSV3ACCESS_EXTEND 0x08 #define NFSV3ACCESS_DELETE 0x10 #define NFSV3ACCESS_EXECUTE 0x20 +#define NFSV3ACCESS_FULL 0x3f #define NFSV3WRITE_UNSTABLE 0 #define NFSV3WRITE_DATASYNC 1 @@ -245,7 +246,7 @@ /* File types */ typedef enum { NFNON=0, NFREG=1, NFDIR=2, NFBLK=3, NFCHR=4, NFLNK=5, - NFSOCK=6, NFFIFO=7 } nfstype; + NFSOCK=6, NFFIFO=7 } nfs_type; /* Structs for common parts of the rpc's */ /* @@ -285,21 +286,6 @@ struct nfs_uquad { }; typedef struct nfs_uquad nfsuint64; -#if 0 /* XXX - this doesn't seemed to be used and it doesn't work - * with non-gcc, so comment it out for now. - */ - -/* - * Used to convert between two u_longs and a u_quad_t. - */ -union nfs_quadconvert { - u_int32_t lval[2]; - u_int64_t qval; -}; -typedef union nfs_quadconvert nfsquad_t; - -#endif - /* * NFS Version 3 special file number. */