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

Derrick Brashear shadow@gmail.com
Mon, 7 Feb 2011 15:07:41 -0500


On Mon, Feb 7, 2011 at 3:02 PM, Chaskiel Grundman <cg2v@andrew.cmu.edu> wrote:
>
>
> On Mon, 7 Feb 2011, Derrick Brashear wrote:
>
>> How about this? If this is agreement i can write up a draft.
>>
>> enum ippack { IPv4=1, IPv6Bytes=2, IPv6Shorts=3, IPV6Ints=4 };
> We need to define a single canonical form of ipv6 address. it's up to the
> endpoints to translate whatever their in6_addr is to/from that form. Other
> than that, this is the right idea.

fair. i'd propose the int32 array version



-- 
Derrick