[erlang-questions] Multicast UDP and Linux

Mark Fine mark.fine@REDACTED
Wed Jun 10 08:41:12 CEST 2009

The raw option


successfully generated IGMPv3 reports on my configuration -- traceroute showed

igmp v3 report, 2 group record(s) [gaddr allow { }]
[gaddr to_in { }]

The interface I generated the report on had a v3 querier:

# cat /proc/net/igmp
Idx	Device    : Count Querier	Group    Users Timer	Reporter
2	eth0      :     5      V3
				000000E2     1 0:00000000		0

otherwise you might need to configure "force_igmp_version".

On Tue, Jun 9, 2009 at 8:33 PM, Rob Elsner<thatsnotright@REDACTED> wrote:
> Is it possible to use the {raw} option for gen_udp:setopts to pass a
> struct?  I looked at the source, it seems correct, but when I format a
> struct that I believe matches ip_mreq_source, I must be doing
> something wrong because no IGMPv3 packet is produced.  Of course, I
> don't know if this option is checkable via a getopts because the group
> management is done on the router and I would hope that the linux
> kernel doesn't store what it thinks is its state.
> Has anyone had luck passing arbitrary structs via the raw option for
> setopts?  Any hints?
> Thanks,
> Rob
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org

More information about the erlang-questions mailing list