diff options
author | peter <peter@FreeBSD.org> | 1998-05-31 20:09:01 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-05-31 20:09:01 +0000 |
commit | 19ad2aa63b82a877a2b1485a9812dcf6e7757ea9 (patch) | |
tree | c618465310d3c2ab3f4033443d34c221eef41ba1 /sys/nfs/nqnfs.h | |
parent | 401c250cc40de5fcfc5f53856a8194793ba32667 (diff) | |
download | FreeBSD-src-19ad2aa63b82a877a2b1485a9812dcf6e7757ea9.zip FreeBSD-src-19ad2aa63b82a877a2b1485a9812dcf6e7757ea9.tar.gz |
For the on-the-wire protocol, u_long -> u_int32_t; long -> int32_t;
int -> int32_t; u_short -> u_int16_t. Also, use mode_t instead of u_short
for storing modes (mode_t is a u_int16_t).
Obtained from: NetBSD
Diffstat (limited to 'sys/nfs/nqnfs.h')
-rw-r--r-- | sys/nfs/nqnfs.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/nfs/nqnfs.h b/sys/nfs/nqnfs.h index e6345c8..f736fa9 100644 --- a/sys/nfs/nqnfs.h +++ b/sys/nfs/nqnfs.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nqnfs.h 8.3 (Berkeley) 3/30/95 - * $Id: nqnfs.h,v 1.14 1997/08/16 19:16:05 wollman Exp $ + * $Id: nqnfs.h,v 1.15 1998/03/30 09:54:45 phk Exp $ */ @@ -88,18 +88,18 @@ struct nqhost { union { struct { - u_short udp_flag; - u_short udp_port; + u_int16_t udp_flag; + u_int16_t udp_port; union nethostaddr udp_haddr; } un_udp; struct { - u_short connless_flag; - u_short connless_spare; + u_int16_t connless_flag; + u_int16_t connless_spare; union nethostaddr connless_haddr; } un_connless; struct { - u_short conn_flag; - u_short conn_spare; + u_int16_t conn_flag; + u_int16_t conn_spare; struct nfssvc_sock *conn_slp; } un_conn; } lph_un; @@ -201,7 +201,7 @@ extern u_long nqfhhash; #if defined(KERNEL) || defined(_KERNEL) void nqnfs_lease_check __P((struct vnode *, struct proc *, struct ucred *, int)); void nqnfs_lease_updatetime __P((int)); -int nqsrv_getlease __P((struct vnode *, u_long *, int, +int nqsrv_getlease __P((struct vnode *, u_int32_t *, int, struct nfssvc_sock *, struct proc *, struct sockaddr *, int *, u_quad_t *, struct ucred *)); |