Debian Codegraph @

upstream/debian-unstable/man2/IP_UNBLOCK_SOURCE.2const

raw
1 .\" Copyright, the authors of the Linux man-pages project
2 .\"
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
4 .\"
5 .TH IP_UNBLOCK_SOURCE 2const 2025-11-25 "Linux man-pages 6.18"
6 .SH NAME
7 IP_UNBLOCK_SOURCE
8 \-
9 unblock multicast source
10 .SH LIBRARY
11 Standard C library
12 .RI ( libc ,\~ \-lc )
13 .SH SYNOPSIS
14 .nf
15 .BR "#include <netinet/in.h>" " /* Definition of " IP* " constants */"
16 .B #include <sys/socket.h>
17 .P
18 .BI int\~setsockopt(int\~ sockfd ,\~IPPROTO_IP,\~IP_UNBLOCK_SOURCE,
19 .BI " const\~struct\~ip_mreq_source\~*" src ,
20 .B " sizeof(struct\~ip_mreq_source));"
21 .fi
22 .SH DESCRIPTION
23 Unblock previously blocked multicast source.
24 .P
25 Fails with
26 .B EADDRNOTAVAIL
27 when given source is not being blocked.
28 .SH ERRORS
29 See
30 .BR IPPROTO_IP (2const).
31 See
32 .BR setsockopt (2).
33 See
34 .BR ip (7).
35 .SH HISTORY
36 Linux 2.4.22, Linux 2.5.68.
37 .SH SEE ALSO
38 .BR IPPROTO_IP (2const),
39 .BR setsockopt (2),
40 .BR ip (7)