| 1 |
.\" Copyright, the authors of the Linux man-pages project |
| 2 |
.\" |
| 3 |
.\" SPDX-License-Identifier: Linux-man-pages-copyleft |
| 4 |
.\" |
| 5 |
.TH ip_mreq_source 2type 2025-11-25 "Linux man-pages 6.18" |
| 6 |
.SH NAME |
| 7 |
ip_mreq_source |
| 8 |
\- |
| 9 |
IP multicast request source |
| 10 |
.SH LIBRARY |
| 11 |
Standard C library |
| 12 |
.RI ( libc ) |
| 13 |
.SH SYNOPSIS |
| 14 |
.nf |
| 15 |
.B #include <netinet/in.h> |
| 16 |
.fi |
| 17 |
.P |
| 18 |
.EX |
| 19 |
struct ip_mreq_source { |
| 20 |
struct in_addr imr_multiaddr; /* IP multicast group address */ |
| 21 |
struct in_addr imr_interface; /* IP address of local interface */ |
| 22 |
struct in_addr imr_sourceaddr; /* IP address of multicast source */ |
| 23 |
}; |
| 24 |
.EE |
| 25 |
.SH DESCRIPTION |
| 26 |
The |
| 27 |
.I ip_mreq_source |
| 28 |
structure is similar to the |
| 29 |
.BR ip_mreqn (2type) |
| 30 |
structure. |
| 31 |
.TP |
| 32 |
.I .imr_multiaddr |
| 33 |
The address of the multicast group |
| 34 |
the application wants to join or leave. |
| 35 |
.TP |
| 36 |
.I .imr_interface |
| 37 |
The address of the local interface with which |
| 38 |
the system should join or leave the multicast group. |
| 39 |
.TP |
| 40 |
.I .imr_sourceaddr |
| 41 |
The address of the source |
| 42 |
the application wants to receive data from. |
| 43 |
.SH HISTORY |
| 44 |
Linux 2.4.22, Linux 2.5.68. |
| 45 |
.SH SEE ALSO |
| 46 |
.BR IP_ADD_SOURCE_MEMBERSHIP (2const), |
| 47 |
.BR IP_BLOCK_SOURCE (2const), |
| 48 |
.BR IP_DROP_SOURCE_MEMBERSHIP (2const), |
| 49 |
.BR IP_UNBLOCK_SOURCE (2const), |
| 50 |
.BR ip (7). |