aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-12-02 01:03:32 +0100
committerAlejandro Colomar <alx@kernel.org>2025-12-02 01:08:33 +0100
commit7a75a611d10b84da63d1645d19229b1099ee053c (patch)
tree6a9fab0c5dcd1c48f77fa34b6e6c06258cd046da
parent07d5d5b62a8f2a88a29c5c995579733113a0ac10 (diff)
downloadman-pages-7a75a611d10b84da63d1645d19229b1099ee053c.tar.gz
man/man2const/IPV6_V6ONLY.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2const/IPV6_V6ONLY.2const16
1 files changed, 8 insertions, 8 deletions
diff --git a/man/man2const/IPV6_V6ONLY.2const b/man/man2const/IPV6_V6ONLY.2const
index c09ef1e98e..4a11b1847b 100644
--- a/man/man2const/IPV6_V6ONLY.2const
+++ b/man/man2const/IPV6_V6ONLY.2const
@@ -19,20 +19,18 @@ Standard C library
.BI " const\~int\~*" enable ,\~sizeof(int));
.fi
.SH DESCRIPTION
-.TP
-.BR IPV6_V6ONLY " (since Linux 2.4.21 and 2.6)"
.\" See RFC 3493
-If this flag is set to true (nonzero), then the socket is restricted
+If this flag is set to true (nonzero),
+then the socket is restricted
to sending and receiving IPv6 packets only.
-In this case, an IPv4 and an IPv6 application can bind
+In this case,
+an IPv4 and an IPv6 application can bind
to a single port at the same time.
-.IP
+.P
If this flag is set to false (zero),
then the socket can be used to send and receive packets
to and from an IPv6 address or an IPv4-mapped IPv6 address.
-.IP
-The argument is a pointer to a boolean value in an integer.
-.IP
+.P
The default value for this flag is defined by the contents of the file
.IR /proc/sys/net/ipv6/bindv6only .
The default value for that file is 0 (false).
@@ -44,6 +42,8 @@ See
.BR setsockopt (2).
See
.BR ipv6 (7).
+.SH HISTORY
+Linux 2.4.21, Linux 2.6.
.SH SEE ALSO
.BR IPPROTO_IPV6 (2const),
.BR setsockopt (2),