]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2const/IP_MULTICAST_IF.2const: Tweak after split
authorAlejandro Colomar <alx@kernel.org>
Mon, 24 Nov 2025 14:42:56 +0000 (15:42 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 25 Nov 2025 00:10:21 +0000 (01:10 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2const/IP_MULTICAST_IF.2const

index fa41b1e954094ecc1a536f534a81b9918d8c88d0..71d78115449e17b1bdb3513b7740082087174d16 100644 (file)
@@ -21,9 +21,8 @@ Standard C library
 .BI "               struct\~in_addr\~*" val ,\~sizeof(struct\~in_addr));
 .fi
 .SH DESCRIPTION
-.TP
-.BR IP_MULTICAST_IF " (since Linux 1.2)"
 Set the local device for a multicast socket.
+.P
 The argument for
 .BR setsockopt (2)
 is an
@@ -35,16 +34,11 @@ or
 .BR ip_mreq (2type)
 structure,
 or an
-.I in_addr
+.BR in_addr (2type)
 structure.
 (The kernel determines which structure is being passed based
 on the size passed in
-.IR optlen .)
-For
-.BR getsockopt (2),
-the argument is an
-.I in_addr
-structure.
+.IR size .)
 .SH ERRORS
 See
 .BR IPPROTO_IP (2const).
@@ -52,7 +46,11 @@ See
 .BR setsockopt (2).
 See
 .BR ip (7).
+.SH HISTORY
+Linux 1.2.
 .SH SEE ALSO
 .BR IPPROTO_IP (2const),
+.BR in_addr (2type),
+.BR ip_mreqn (2type),
 .BR setsockopt (2),
 .BR ip (7)