From: Alejandro Colomar Date: Mon, 24 Nov 2025 21:38:03 +0000 (+0100) Subject: man/man2const/{IPPROTO_IP,IP_UNBLOCK_SOURCE}.2const: Split IP_UNBLOCK_SOURCE from... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b62addfbe7f2dfcf51c8545c2aa9bbbbdbd685a3;p=thirdparty%2Fman-pages.git man/man2const/{IPPROTO_IP,IP_UNBLOCK_SOURCE}.2const: Split IP_UNBLOCK_SOURCE from IPPROTO_IP(2const) Signed-off-by: Alejandro Colomar --- diff --git a/man/man2const/IPPROTO_IP.2const b/man/man2const/IPPROTO_IP.2const index e2b4833be..eff706b47 100644 --- a/man/man2const/IPPROTO_IP.2const +++ b/man/man2const/IPPROTO_IP.2const @@ -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 index 000000000..7a863b3d2 --- /dev/null +++ b/man/man2const/IP_UNBLOCK_SOURCE.2const @@ -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 " " /* Definition of " IP* " constants */" +.B #include +.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)