diff options
author | Neale Ranns <nranns@cisco.com> | 2018-09-06 09:50:26 -0700 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2018-09-08 14:51:48 +0000 |
commit | 3b81a1e5f205482b8ea30edbfd39559c4368ac4d (patch) | |
tree | 345ff2e3d599502852512180e95f21c76ec31f48 /src/vnet/interface.h | |
parent | 3348a4cf070b90a9c23bbc0b3752fa2801f832a9 (diff) |
L2 BVI/FIB: Update L2 FIB table when BVI's MAC changes
also some moving of l2 headers to reduce dependencies
Change-Id: I7a700a411a91451ef13fd65f9c90de2432b793bb
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/interface.h')
-rw-r--r-- | src/vnet/interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/interface.h b/src/vnet/interface.h index b34d19c55ef..30023ebded3 100644 --- a/src/vnet/interface.h +++ b/src/vnet/interface.h @@ -69,7 +69,8 @@ typedef clib_error_t *(vnet_subif_add_del_function_t) /* Interface set mac address callback. */ typedef clib_error_t *(vnet_interface_set_mac_address_function_t) - (struct vnet_hw_interface_t * hi, char *address); + (struct vnet_hw_interface_t * hi, + const u8 * old_address, const u8 * new_address); /* Interface set rx mode callback. */ typedef clib_error_t *(vnet_interface_set_rx_mode_function_t) |