diff options
| author | Alejandro Colomar <alx@kernel.org> | 2025-11-24 22:38:03 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2025-11-25 01:10:31 +0100 |
| commit | b62addfbe7f2dfcf51c8545c2aa9bbbbdbd685a3 (patch) | |
| tree | d7285ca1496cff80c716aabf8b41ab5b0e5a54ef | |
| parent | 77a589b9a7da80d937d83c8d0077e8bca6f95073 (diff) | |
| download | man-pages-b62addfbe7f2dfcf51c8545c2aa9bbbbdbd685a3.tar.gz | |
man/man2const/{IPPROTO_IP,IP_UNBLOCK_SOURCE}.2const: Split IP_UNBLOCK_SOURCE from IPPROTO_IP(2const)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man/man2const/IPPROTO_IP.2const | 12 | ||||
| -rw-r--r-- | man/man2const/IP_UNBLOCK_SOURCE.2const | 43 |
2 files changed, 45 insertions, 10 deletions
diff --git a/man/man2const/IPPROTO_IP.2const b/man/man2const/IPPROTO_IP.2const index e2b4833beb..eff706b470 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 0000000000..7a863b3d2e --- /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 <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) |
