dpif-xlate: Snoop multicast packets and send them properly
authorFlavio Leitner <fbl@redhat.com>
Thu, 19 Jun 2014 01:14:34 +0000 (22:14 -0300)
committerBen Pfaff <blp@nicira.com>
Tue, 24 Jun 2014 18:17:09 +0000 (11:17 -0700)
commit86e2dcddce85522a7a675fb615322ae78a134590
tree3d6901d428b0d6637f5bd68f395e428a1f04f3ff
parent08fdcc1205be10e9ca6e7d5f0fcca57e01511e02
dpif-xlate: Snoop multicast packets and send them properly

If the packet is multicast and the snooping feature is enabled,
update the multicast snooping database accordingly and send it
to the right ports.

If the packet is not multicast or the snooping feature is disabled,
let the MAC learning handle the packet as before.

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-xlate.c