ethernet: dmac filter checks secondary mac addrs 92/21792/10
authorMatthew G Smith <mgsmith@netgate.com>
Wed, 4 Sep 2019 20:01:04 +0000 (15:01 -0500)
committerDamjan Marion <dmarion@me.com>
Wed, 2 Oct 2019 12:12:21 +0000 (12:12 +0000)
commitd459bf344e20ffb38a869c9fef2211f55d766b02
tree18dca2c1534c5b871b180453763a2e2e7b5ef56a
parentdd4d8ac29202fe54e74a13ce86d1ba3f79d1555f
ethernet: dmac filter checks secondary mac addrs

Maintain a list of secondary MAC addresses on ethernet_interface_t.
In ethernet-input dmac filtering, If packets do not match the
primary interface hardware address, check to see if they match the
other addresses.

Type: feature

Change-Id: Ie0edf45cae0d85c038a61086c47b3ae82d7e162d
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/vnet/ethernet/ethernet.h
src/vnet/ethernet/interface.c
src/vnet/ethernet/node.c