ipv6.7: SOL_IPV6 and other SOL_* options socket are not portable

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472447

Reported-by: David Madore <david.madore@ens.fr>
Signed-off-by: Stéphane Aulery <saulery@free.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Stéphane Aulery 2015-03-09 14:04:53 +01:00 committed by Michael Kerrisk
parent ad127d4cdb
commit 8013e4ef70
1 changed files with 12 additions and 0 deletions

View File

@ -393,6 +393,18 @@ Programs that assume that all address types can be stored safely in a
need to be changed to use need to be changed to use
.I struct sockaddr_storage .I struct sockaddr_storage
for that instead. for that instead.
.PP
.BR SOL_IP ,
.BR SOL_IPV6 ,
.B SOL_ICMPV6
and other
.BR SOL_ *
socket options are not portable
variants of
.BR IPPROTO_ *.
For more information, see
.BR ip (7),
glibc and kernel headers.
.SH BUGS .SH BUGS
The IPv6 extended API as in RFC\ 2292 is currently only partly The IPv6 extended API as in RFC\ 2292 is currently only partly
implemented; implemented;