Add IGMPv3 support.
authorThadeu Lima de Souza Cascardo <cascardo@redhat.com>
Wed, 17 Jun 2015 17:12:20 +0000 (14:12 -0300)
committerBen Pfaff <blp@nicira.com>
Wed, 17 Jun 2015 18:09:33 +0000 (11:09 -0700)
commite3102e42ef2afdeecdbdaf95f8dd119df3e1de7e
treec3f0bc1d94a4d28ed94fcfe7e52d9fcf28aa60c1
parentd29f137b65e8051f7da0eacf1901bcb7245b6b4e
Add IGMPv3 support.

Support IGMPv3 messages with multiple records. Make sure all IGMPv3
messages go through slow path, since they may carry multiple multicast
addresses, unlike IGMPv2.

Tests done:

* multiple addresses in IGMPv3 report are inserted in mdb;
* address is removed from IGMPv3 if record is INCLUDE_MODE;
* reports sent on a burst with same flow all go to userspace;
* IGMPv3 reports go to mrouters, i.e., ports that have issued a query.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
NEWS
lib/mcast-snooping.c
lib/mcast-snooping.h
lib/packets.h
ofproto/ofproto-dpif-xlate.c
vswitchd/vswitch.xml