Deleted Added
full compact
nfsfh.h (98527) nfsfh.h (127675)
1/* @(#) $Header: /tcpdump/master/tcpdump/nfsfh.h,v 1.12 2001/09/17 21:57:52 fenner Exp $ (LBL) */
1/* @(#) $Header: /tcpdump/master/tcpdump/nfsfh.h,v 1.13 2002/04/24 06:27:05 guy Exp $ (LBL) */
2
3/*
4 * Copyright (c) 1993, 1994 Jeffrey C. Mogul, Digital Equipment Corporation,
5 * Western Research Laboratory. All rights reserved.
6 * Copyright (c) 2001 Compaq Computer Corporation. All rights reserved.
7 *
8 * Permission to use, copy, and modify this software and its
9 * documentation is hereby granted only under the following terms and

--- 24 unchanged lines hidden (view full) ---

34 */
35
36/*
37 * nfsfh.h - NFS file handle definitions (for portable use)
38 *
39 * Jeffrey C. Mogul
40 * Digital Equipment Corporation
41 * Western Research Laboratory
2
3/*
4 * Copyright (c) 1993, 1994 Jeffrey C. Mogul, Digital Equipment Corporation,
5 * Western Research Laboratory. All rights reserved.
6 * Copyright (c) 2001 Compaq Computer Corporation. All rights reserved.
7 *
8 * Permission to use, copy, and modify this software and its
9 * documentation is hereby granted only under the following terms and

--- 24 unchanged lines hidden (view full) ---

34 */
35
36/*
37 * nfsfh.h - NFS file handle definitions (for portable use)
38 *
39 * Jeffrey C. Mogul
40 * Digital Equipment Corporation
41 * Western Research Laboratory
42 * $FreeBSD: head/contrib/tcpdump/nfsfh.h 98527 2002-06-21 00:49:02Z fenner $
42 * $FreeBSD: head/contrib/tcpdump/nfsfh.h 127675 2004-03-31 14:57:24Z bms $
43 * $NetBSD: nfsfh.h,v 1.1.1.2 1997/10/03 17:25:13 christos Exp $
44 */
45
46/*
47 * Internal representation of dev_t, because different NFS servers
48 * that we might be spying upon use different external representations.
49 */
50typedef struct {

--- 11 unchanged lines hidden (view full) ---

62 my_devt Fsid_dev; /* XXX avoid name conflict with AIX */
63 char Opaque_Handle[2 * 32 + 1];
64 u_int32_t fsid_code;
65} my_fsid;
66
67#define fsid_eq(a,b) ((a.fsid_code == b.fsid_code) &&\
68 dev_eq(a.Fsid_dev, b.Fsid_dev))
69
43 * $NetBSD: nfsfh.h,v 1.1.1.2 1997/10/03 17:25:13 christos Exp $
44 */
45
46/*
47 * Internal representation of dev_t, because different NFS servers
48 * that we might be spying upon use different external representations.
49 */
50typedef struct {

--- 11 unchanged lines hidden (view full) ---

62 my_devt Fsid_dev; /* XXX avoid name conflict with AIX */
63 char Opaque_Handle[2 * 32 + 1];
64 u_int32_t fsid_code;
65} my_fsid;
66
67#define fsid_eq(a,b) ((a.fsid_code == b.fsid_code) &&\
68 dev_eq(a.Fsid_dev, b.Fsid_dev))
69
70extern void Parse_fh(caddr_t *, int, my_fsid *, ino_t *, const char **, const char **, int);
70extern void Parse_fh(const unsigned char *, int, my_fsid *, ino_t *, const char **, const char **, int);