summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/nfsfh.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-07-13 11:01:36 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-07-13 11:01:36 +0000
commit8b4f92eb10cc8475dde595267c343b6fa7e42dc0 (patch)
treef88f41c10c46d9b00531c0178b7d4301a25e3119 /usr.sbin/tcpdump/nfsfh.h
parent3b13e49cceec57c39e28d4263a3b3e19421dd2ea (diff)
it is 3.2 now.
Diffstat (limited to 'usr.sbin/tcpdump/nfsfh.h')
-rw-r--r--usr.sbin/tcpdump/nfsfh.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/usr.sbin/tcpdump/nfsfh.h b/usr.sbin/tcpdump/nfsfh.h
index a99bba34308..8f879d51ba8 100644
--- a/usr.sbin/tcpdump/nfsfh.h
+++ b/usr.sbin/tcpdump/nfsfh.h
@@ -1,8 +1,7 @@
-/**//* $OpenBSD: nfsfh.h,v 1.3 1996/06/10 07:47:23 deraadt Exp $ */
-/* $NetBSD: nfsfh.h,v 1.3 1996/05/20 00:41:03 fvdl Exp $ */
+/* $OpenBSD: nfsfh.h,v 1.4 1996/07/13 11:01:13 mickey Exp $ */
/*
- * Header: nfsfh.h,v 1.3 94/06/12 14:32:58 leres Exp
+ * Header: nfsfh.h,v 1.4 95/10/19 20:27:44 leres Exp
*
* nfsfh.h - NFS file handle definitions (for portable use)
*
@@ -16,8 +15,8 @@
* that we might be spying upon use different external representations.
*/
typedef struct {
- u_long Minor; /* upper case to avoid clashing with macro names */
- u_long Major;
+ u_int32_t Minor; /* upper case to avoid clashing with macro names */
+ u_int32_t Major;
} my_devt;
#define dev_eq(a,b) ((a.Minor == b.Minor) && (a.Major == b.Major))
@@ -28,10 +27,10 @@ typedef struct {
*/
typedef struct {
my_devt fsid_dev;
- u_long fsid_code;
+ u_int32_t fsid_code;
} my_fsid;
#define fsid_eq(a,b) ((a.fsid_code == b.fsid_code) &&\
dev_eq(a.fsid_dev, b.fsid_dev))
-extern void Parse_fh(caddr_t *, int, my_fsid *, ino_t *, char **, char **, int);
+extern void Parse_fh(caddr_t *, my_fsid *, ino_t *, char **, char **, int);