> From: openssl-users <openssl-users-boun...@openssl.org> On Behalf Of Matt
> Caswell
> Sent: Monday, 21 March, 2022 05:33
> 
> Given that OpenSSL already supports IPv6 but we've never needed to
> include [netinet/ip6.h], I am wondering what is in that header that needs to
> be used?

netinet/ip6.h is for the "Advanced API for IPv6", detailed in RFC 3542. It's 
typically used for raw-socket access to IPv6, for things like traceroute and 
hop-by-hop.

The RFC specifically mentions using this API to retrieve and set addresses, so 
it seems like a fix for issue 5257 does need to use it, if that's to be done in 
a portable way.

3542 is only Informational, but I'd expect most or all platforms with IPv6 
support to conform to it.

-- 
Michael Wojcik

Reply via email to