[asterisk-dev] [asterisk-commits] simon.perreault: branch group/v6-new r274766 - /team/group/v6-new/main/

Simon Perreault simon.perreault at viagenie.ca
Thu Jul 8 12:57:11 CDT 2010


On 2010-07-08 13:44, Tilghman Lesher wrote:
> That's true, but if you buffer the header such that the port numbers between
> the two items in the union match up

The port numbers already match up between sockaddr_in and sockaddr_in6.
No need to add an offset.

> you can similarly use the IPv4-mapped
> addresses within IPv6 to create an address which is backward-compatible with
> using the IPv4 address, assuming the upper bits are set correctly.  Of course,
> if the upper bits aren't set to the IPv4 mapping, the least significant
> 32-bits isn't an IPv4 address, but we can deal with that situation at least
> better.

How would this be different from IPv4-mapped addresses?

Simon
-- 
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server        --> http://numb.viagenie.ca
vCard 4.0               --> http://www.vcarddav.org



More information about the asterisk-dev mailing list