Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2009 11:07:25 -0700
From:      Kip Macy <kmacy@freebsd.org>
To:        Frank Behrens <frank@ilse.behrens.de>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, Doug Rabson <dfr@rabson.org>, src-committers@freebsd.org
Subject:   Re: svn commit: r191984 - in head/sys: cddl/contrib/opensolaris/uts/common/rpc modules/zfs
Message-ID:  <3c1674c90905121107x2352dba1r39ae7ed9c404f78e@mail.gmail.com>
In-Reply-To: <200905120913.n4C9DOqw032522@post.behrens.de>
References:  <56AB958E-2FF5-421C-9B72-1181EA265A35@rabson.org> <3c1674c90905120116l46d2fc84w789b3396419a9ede@mail.gmail.com> <200905120913.n4C9DOqw032522@post.behrens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 12, 2009 at 2:13 AM, Frank Behrens <frank@ilse.behrens.de> wrote:
> On Tue, May 12, 2009 at 12:33 AM, Doug Rabson <dfr@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3c1674c90905121107x2352dba1r39ae7ed9c404f78e>