multicast join linux igmpv3
we've run troublesome problem. minute c++ way receives multicast udp traffic. we're slight relocating the applications opposite network sourroundings the operations organisation requested support igmpv3 membership announcements the applications. initial investigations infer linux 2.6 kernels support igmpv3. therefore, i'm unlimited run tcpdump following cost traces:
[rtv@myhost]$ sudo /usr/sbin/tcpdump -i eth1.22 igmp
tcpdump: listening eth1.22
00:20:09.007094 switch-a.stage > all-systems.mcast.net: igmp query v2 [max resp 20] [ttl 1]
00:20:09.241946 10.129.22.236 > 232.0.1.10: igmp v2 news 232.0.1.10 (df) [tos 0xc0] [ttl 1]
00:20:10.472159 10.129.22.236 > 236.0.1.101: igmp v2 news 236.0.1.101 (df) [tos 0xc0] [ttl 1]
44 packets viewed filter
my bargain force heart devaluate chronicle igmp naming non-zero value record /proc/sys/net/ipv4/conf/eth1.22/force_igmp_version; however, i've reliable record 0 value configuration.
our concentration controlling following formula join multicast group:
... joinmulticast(in_addr mcast_addr, in_addr interface_addr)
{
struct ip_mreq mcast_req;
mcast_req.imr_multiaddr.s_addr = mcast_addr;
mcast_req.imr_interface.s_addr = interface_addr;
int error = setsockopt(ffiledesc, ipproto_ip, ip_add_membership,
(char*)&themulti, sizeof(themulti));
// hoop errors etc.
// ...
}
is there something additional need consolidate source way force igmpv3?
Comments
Post a Comment