From: Alejandro Colomar Date: Mon, 24 Nov 2025 22:08:16 +0000 (+0100) Subject: man/man2const/IPPROTO_IP.2const: Tweak after making sashimi of this page X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d90f4c4311b71b00ddbf791da942cbf828b57f1;p=thirdparty%2Fman-pages.git man/man2const/IPPROTO_IP.2const: Tweak after making sashimi of this page Signed-off-by: Alejandro Colomar --- diff --git a/man/man2const/IPPROTO_IP.2const b/man/man2const/IPPROTO_IP.2const index 0c2799575..eedfc2405 100644 --- a/man/man2const/IPPROTO_IP.2const +++ b/man/man2const/IPPROTO_IP.2const @@ -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