interface: callback to manage extra MAC addresses 95/22595/2
authorMatthew Smith <mgsmith@netgate.com>
Fri, 12 Jul 2019 16:48:24 +0000 (11:48 -0500)
committerDamjan Marion <dmarion@me.com>
Wed, 9 Oct 2019 10:30:05 +0000 (10:30 +0000)
commite0792fdff6a9cc141f1cb4c6c1d2ac478cf44ee2
treeba4d3e098043531cc5957f34e793dd29b0ee851d
parent6a6af6ea1a77b5818e717047b5d01251ef6d024a
interface: callback to manage extra MAC addresses

Type: feature

New callback vnet_hw_interface_add_del_mac_address().

Add or delete secondary MAC addresses on a hardware interface.
This will allow packets to be processed which have a destination
MAC address other than the primary programmed MAC address without
needing to put the device into promiscuous mode.

Change-Id: I6beecbcb8932fc1fe45b567f76fa3706feefae2c
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/vat/api_format.c
src/vnet/interface.api
src/vnet/interface.c
src/vnet/interface.h
src/vnet/interface_api.c
src/vnet/interface_cli.c
src/vnet/interface_funcs.h