]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2const/{IPPROTO_IP,IP_UNBLOCK_SOURCE}.2const: Split IP_UNBLOCK_SOURCE from...
authorAlejandro Colomar <alx@kernel.org>
Mon, 24 Nov 2025 21:38:03 +0000 (22:38 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 25 Nov 2025 00:10:31 +0000 (01:10 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2const/IPPROTO_IP.2const
man/man2const/IP_UNBLOCK_SOURCE.2const [new file with mode: 0644]

index e2b4833beb124b688832ede0335170787ceb9588..eff706b47017764fcd11daacf12f90c8f18b1d7d 100644 (file)
@@ -126,16 +126,8 @@ fail with the error
 .BR IP_TRANSPARENT (2const)
 .TQ
 .BR IP_TTL (2const)
-.TP
-.BR IP_UNBLOCK_SOURCE " (since Linux 2.4.22 / 2.5.68)"
-Unblock previously blocked multicast source.
-Returns
-.B EADDRNOTAVAIL
-when given source is not being blocked.
-.IP
-Argument is an
-.BR ip_mreq_source (2type)
-structure.
+.TQ
+.BR IP_UNBLOCK_SOURCE (2const)
 .TP
 .BR SO_PEERSEC " (since Linux 2.6.17)"
 If labeled IPSEC or NetLabel is configured on both the sending and
diff --git a/man/man2const/IP_UNBLOCK_SOURCE.2const b/man/man2const/IP_UNBLOCK_SOURCE.2const
new file mode 100644 (file)
index 0000000..7a863b3
--- /dev/null
@@ -0,0 +1,43 @@
+.\" Copyright, the authors of the Linux man-pages project
+.\"
+.\" SPDX-License-Identifier: Linux-man-pages-copyleft
+.\"
+.TH IP_UNBLOCK_SOURCE 2const (date) "Linux man-pages (unreleased)"
+.SH NAME
+IP_UNBLOCK_SOURCE
+\-
+unblock multicast source
+.SH LIBRARY
+Standard C library
+.RI ( libc ,\~ \-lc )
+.SH SYNOPSIS
+.nf
+.BR "#include <netinet/in.h>" "  /* Definition of " IP* " constants */"
+.B #include <sys/socket.h>
+.P
+.BI int\~setsockopt(int\~ sockfd ,\~IPPROTO_IP,\~IP_UNBLOCK_SOURCE,
+.BI "               const\~struct\~ip_mreq_source\~*" src ,
+.B "               sizeof(struct\~ip_mreq_source));"
+.fi
+.SH DESCRIPTION
+.TP
+.BR IP_UNBLOCK_SOURCE " (since Linux 2.4.22 / 2.5.68)"
+Unblock previously blocked multicast source.
+Returns
+.B EADDRNOTAVAIL
+when given source is not being blocked.
+.IP
+Argument is an
+.BR ip_mreq_source (2type)
+structure.
+.SH ERRORS
+See
+.BR IPPROTO_IP (2const).
+See
+.BR setsockopt (2).
+See
+.BR ip (7).
+.SH SEE ALSO
+.BR IPPROTO_IP (2const),
+.BR setsockopt (2),
+.BR ip (7)