summaryrefslogtreecommitdiff
path: root/sys/nfs/xdr_subs.h
AgeCommit message (Collapse)Author
1999-02-06Use bitwise operations to extract high and low words from the quadTodd C. Miller
in txdr_hyper. This should be more portable than casting to an array of ints and pulling out the two 32-bit words (this produced incorrect results on alpha for the high word for filesystems < 4gig). As a side effect, txdr_hyper now takes a u_quad_t as its first arg, not u_quad_t *.
1998-12-28Fix fxdr_hyper macro. The cast to signed int caused incorrect behavior in ↵Todd C. Miller
the shift. This only seems to have affected big endian machines.
1998-08-19Change fxdr_hyper to return a u_quad_t. This minimizes the evil clobberingConstantine Sapuntzakis
of lvalues that ANSI abhors. And it fixes df on NFS version 3 mounts on Sparcs.
1996-03-31From NetBSD: NFSv3 import (tomorrow's Net's kernel)Michael Shalayeff
Open's patches kept in. i'll possibly take a look at Lite2 soon, is there smth usefull ?..
1996-02-29From NetBSD: merge with 960217 (still NFSv2)Niklas Hallqvist
1995-12-21from cgd; handle 64-bit pointers and longsTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt