[AFS3-std] Encoding IPvN addresses (was Re: first draft: ubik update proposal)

David Boyes dboyes@sinenomine.net
Mon, 7 Feb 2011 17:03:00 -0600


On 2/7/11 4:46 PM, "Jeffrey Hutzelman" <jhutz@cmu.edu> wrote:

>>if you'd like a literal mapping of the colon-separated octet-sets to
>> array elements, you'd be suggesting the array IPv6Shorts in this
>> proposal. that's fine with me too.
>
>Treat it as an opaque vector.  An IPv6 address is not actually an array
>of=20
>16- or 32-bit integers, and treating it that way means you're going to
>have=20
>to jump through hoops to get the byte order right when local byte order
>is=20
>not the same as network order.  Better to just treat the whole thing as
>an=20
>opaque bitstring, which is what it is.

That was what I was struggling to say, but badly expressing. Much better
words.=20



>