]> The Tcpdump Group git mirrors - tcpdump/blobdiff - nfs.h
More UNALIGNED_MEM{CPY,CMP} on IP addresses.
[tcpdump] / nfs.h
diff --git a/nfs.h b/nfs.h
index 44b834fd9ded5c0da08b172108f605809b7f8476..056a909911899ae4184b3f3f918ea6677d9d1c4a 100644 (file)
--- 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
 #define NFSV3ACCESS_EXTEND             0x08
 #define NFSV3ACCESS_DELETE             0x10
 #define NFSV3ACCESS_EXECUTE            0x20
+#define NFSV3ACCESS_FULL               0x3f
 
 #define NFSV3WRITE_UNSTABLE            0
 #define NFSV3WRITE_DATASYNC            1
 
 /* 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.
  */