svn commit: r191984 - in head/sys: cddl/contrib/opensolaris/uts/common/rpc modules/zfs

Kip Macy kmacy at freebsd.org
Tue May 12 18:07:27 UTC 2009


On Tue, May 12, 2009 at 2:13 AM, Frank Behrens <frank at ilse.behrens.de> wrote:
> On Tue, May 12, 2009 at 12:33 AM, Doug Rabson <dfr at rabson.org> wrote:
>> > I thought that XDR 'long' types were 32 bit regardless of whether the
>> > platform was 32 or 64 bit. I'll have to read the code again.
>
> XDR is defined in RFC 4506. It should be independent from
> architecture.
>
> "An XDR {signed,unsigned} integer is a 32-bit datum..."
> "The standard also defines 64-bit (8-byte) numbers called hyper
> integers and unsigned hyper integers."
>

That is the definition. The implementation may be something entirely
different :-)


-Kip


More information about the svn-src-all mailing list