On Wed, Dec 14, 2016 at 10:08:33AM +0100, Florian Weimer wrote: > > The original RFCs for IPv6 mandated support for IPsec, but that's no > > longer required as of RFC 6434. Nothing else popped out at me as > > necessary for IPv6, but it's probably a moot point given XFRM. > > IPv6 people argue that it's required to sort addresses according to the > length of the overlap with configured subnets and local addresses. This > requires that you enumerate the local network interfaces and their > addresses, and this information is only available over Netlink for IPv6. > IPv4 has an ioctl, too, but not IPv6. FWIW, some programs use /proc/net/if_inet6 to get local IPv6 addresses. I'm not sure if it contains all information needed for this case. -- Miroslav Lichvar _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx