summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip-neighbor/ip_neighbor.h
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-04-23 09:04:59 +0000
committerOle Trøan <otroan@employees.org>2020-04-30 20:24:45 +0000
commit240dcb24a00004017ec2d1b23b93d9ae8d3c9f65 (patch)
tree5c0397ecbf4c0936ce703871888ff666239f775f /src/vnet/ip-neighbor/ip_neighbor.h
parentf3783e15014c4c93a1b43697bfcc6422b0a7e369 (diff)
ip-neighbor: Add flush API
Type: feature Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: I96509c274895b917c3e220204d7959d9270de30d
Diffstat (limited to 'src/vnet/ip-neighbor/ip_neighbor.h')
-rw-r--r--src/vnet/ip-neighbor/ip_neighbor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/ip-neighbor/ip_neighbor.h b/src/vnet/ip-neighbor/ip_neighbor.h
index 8769fd5efd7..cdceadb0859 100644
--- a/src/vnet/ip-neighbor/ip_neighbor.h
+++ b/src/vnet/ip-neighbor/ip_neighbor.h
@@ -41,6 +41,8 @@ extern int ip_neighbor_del (const ip46_address_t * ip,
extern int ip_neighbor_config (ip46_type_t type, u32 limit, u32 age,
bool recycle);
+extern void ip_neighbor_del_all (ip46_type_t type, u32 sw_if_index);
+
typedef walk_rc_t (*ip_neighbor_walk_cb_t) (index_t ipni, void *ctx);
extern void ip_neighbor_walk (ip46_type_t type,
u32 sw_if_index,