aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2const/IP_UNBLOCK_SOURCE.2const
blob: 82ffd1b50dd24b31011a830df80a231be2642f80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.\" 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
Unblock previously blocked multicast source.
.P
Fails with
.B EADDRNOTAVAIL
when given source is not being blocked.
.SH ERRORS
See
.BR IPPROTO_IP (2const).
See
.BR setsockopt (2).
See
.BR ip (7).
.SH HISTORY
Linux 2.4.22, Linux 2.5.68.
.SH SEE ALSO
.BR IPPROTO_IP (2const),
.BR setsockopt (2),
.BR ip (7)