ip: add VNET_IP_TABLE_ADD_DEL_FUNCTION 75/28075/5
authorSteven Luong <sluong@cisco.com>
Mon, 27 Jul 2020 17:06:58 +0000 (10:06 -0700)
committerOle Trøan <otroan@employees.org>
Fri, 14 Aug 2020 08:15:31 +0000 (08:15 +0000)
commitc3ed1c99134d063dff03c4babe0ebbf5cc0e8ab2
tree0a5fa53b402f4995cfb345f9134a23f88fe86a08
parent2f630188b91b58eca379c9cc9944986af3e00ae5
ip: add VNET_IP_TABLE_ADD_DEL_FUNCTION

vrf table may be dynamically added or deleted. When the table is deleted,
clients who use the corresponding vrf table may need a callback to
do the clean up. The mechanism added here is cloned from
VNET_SW_INTERFACE_ADD_DEL_FUNCTION.

Type: improvement

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I08635c715cd7361a6c359b90890dd3545b0da94c
src/vnet/CMakeLists.txt
src/vnet/ip/ip_api.c
src/vnet/ip/ip_table.h [new file with mode: 0644]
src/vnet/vnet.h