From: Alejandro Colomar Date: Mon, 1 Dec 2025 10:48:03 +0000 (+0100) Subject: man/man2const/IPV6_ADDRFORM.2const: Tweak after split X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97de86654b15e2bb2ca417e5a3ac363234488dd3;p=thirdparty%2Fman-pages.git man/man2const/IPV6_ADDRFORM.2const: Tweak after split Signed-off-by: Alejandro Colomar --- diff --git a/man/man2const/IPV6_ADDRFORM.2const b/man/man2const/IPV6_ADDRFORM.2const index 45901d4ed..26d8719f1 100644 --- a/man/man2const/IPV6_ADDRFORM.2const +++ b/man/man2const/IPV6_ADDRFORM.2const @@ -19,18 +19,17 @@ Standard C library .B " &(const\~int){AF_INET},\~sizeof(int));" .fi .SH DESCRIPTION -.TP -.B IPV6_ADDRFORM Turn an .B AF_INET6 socket into a socket of a different address family. +.P Only .B AF_INET is currently supported for that. +.P It is allowed only for IPv6 sockets that are connected and bound to a v4-mapped-on-v6 address. -The argument is a pointer to an integer containing -.BR AF_INET . +.P This is useful to pass v4-mapped sockets as file descriptors to programs that don't know how to deal with the IPv6 API. .SH ERRORS