From: Alejandro Colomar Date: Mon, 1 Dec 2025 21:38:58 +0000 (+0100) Subject: man/man2const/{IPPROTO_IPV6,IPV6_MULTICAST_LOOP}.2const: Split IPV6_MULTICAST_LOOP... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48255c1b2abc09f89a33d1766866e686034ecc23;p=thirdparty%2Fman-pages.git man/man2const/{IPPROTO_IPV6,IPV6_MULTICAST_LOOP}.2const: Split IPV6_MULTICAST_LOOP from IPPROTO_IPV6(2const) Signed-off-by: Alejandro Colomar --- diff --git a/man/man2const/IPPROTO_IPV6.2const b/man/man2const/IPPROTO_IPV6.2const index d30bc8020..14bbad81b 100644 --- a/man/man2const/IPPROTO_IPV6.2const +++ b/man/man2const/IPPROTO_IPV6.2const @@ -118,10 +118,8 @@ The following socket options are supported. .BR IPV6_MULTICAST_HOPS (2const) .TQ .BR IPV6_MULTICAST_IF (2const) -.TP -.B IPV6_MULTICAST_LOOP -Control whether the socket sees multicast packets that it has send itself. -Argument is a pointer to boolean. +.TQ +.BR IPV6_MULTICAST_LOOP (2const) .TP .BR IPV6_RECVPKTINFO " (since Linux 2.6.14)" Set delivery of the diff --git a/man/man2const/IPV6_MULTICAST_LOOP.2const b/man/man2const/IPV6_MULTICAST_LOOP.2const new file mode 100644 index 000000000..2acf0b112 --- /dev/null +++ b/man/man2const/IPV6_MULTICAST_LOOP.2const @@ -0,0 +1,38 @@ +.\" Copyright, the authors of the Linux man-pages project +.\" +.\" SPDX-License-Identifier: Linux-man-pages-copyleft +.\" +.TH IPV6_MULTICAST_LOOP 2const (date) "Linux man-pages (unreleased)" +.SH NAME +IPV6_MULTICAST_LOOP +\- +loop back sent multicast packets to local sockets +.SH LIBRARY +Standard C library +.RI ( libc ,\~ \-lc ) +.SH SYNOPSIS +.nf +.BR "#include " " /* Definition of " IP* " constants */" +.B #include +.P +.BI int\~setsockopt(int\~ sockfd ,\~IPPROTO_IPV6,\~IPV6_MULTICAST_LOOP, +.BI " const\~int\~*" enable ,\~sizeof(int)); +.BI int\~getsockopt(int\~ sockfd ,\~IPPROTO_IPV6,\~IPV6_MULTICAST_LOOP, +.BI " int\~*" enabled ,\~sizeof(int)); +.fi +.SH DESCRIPTION +.TP +.B IPV6_MULTICAST_LOOP +Control whether the socket sees multicast packets that it has send itself. +Argument is a pointer to boolean. +.SH ERRORS +See +.BR IPPROTO_IPV6 (2const). +See +.BR setsockopt (2). +See +.BR ipv6 (7). +.SH SEE ALSO +.BR IPPROTO_IPV6 (2const), +.BR setsockopt (2), +.BR ipv6 (7)