]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2const/IPPROTO_IP.2const: Tweak after making sashimi of this page
authorAlejandro Colomar <alx@kernel.org>
Mon, 24 Nov 2025 22:08:16 +0000 (23:08 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 25 Nov 2025 00:10:32 +0000 (01:10 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2const/IPPROTO_IP.2const

index 0c27995752bc788d0558c0304a4039cfda926be5..eedfc24051e74d5fa1742f7a760a5304a605d710 100644 (file)
@@ -58,14 +58,8 @@ and read with
 The socket option level for IP is
 .BR IPPROTO_IP .
 .\" or SOL_IP on Linux
-A boolean integer flag is zero when it is false, otherwise true.
 .P
-When an invalid socket option is specified,
-.BR getsockopt (2)
-and
-.BR setsockopt (2)
-fail with the error
-.BR ENOPROTOOPT .
+The following socket options are supported.
 .TP
 .BR IP_ADD_MEMBERSHIP (2const)
 .TQ
@@ -135,6 +129,10 @@ See
 .BR setsockopt (2).
 See
 .BR ip (7).
+.TP
+.B ENOPROTOOPT
+.I opt
+is invalid.
 .\" .SH STANDARDS
 .\" IP_XFRM_POLICY is Linux-specific
 .\" IP_IPSEC_POLICY is a nonstandard extension, also present on some BSDs