diff options
Diffstat (limited to 'src/vnet/ip-neighbor/ip_neighbor.h')
-rw-r--r-- | src/vnet/ip-neighbor/ip_neighbor.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/vnet/ip-neighbor/ip_neighbor.h b/src/vnet/ip-neighbor/ip_neighbor.h index 064569b56ce..cc888ba2054 100644 --- a/src/vnet/ip-neighbor/ip_neighbor.h +++ b/src/vnet/ip-neighbor/ip_neighbor.h @@ -36,6 +36,8 @@ extern int ip_neighbor_del (const ip_address_t * ip, u32 sw_if_index); extern int ip_neighbor_config (ip_address_family_t af, u32 limit, u32 age, bool recycle); +extern int ip_neighbor_get_config (ip_address_family_t af, u32 *limit, + u32 *age, bool *recycle); extern void ip_neighbor_del_all (ip_address_family_t af, u32 sw_if_index); @@ -54,12 +56,13 @@ extern void ip_neighbor_learn (const ip_neighbor_learn_t * l); extern void ip_neighbor_update (vnet_main_t * vnm, adj_index_t ai); extern void ip_neighbor_probe (const ip_adjacency_t * adj); -extern void ip_neighbor_probe_dst (u32 sw_if_index, +extern void ip_neighbor_probe_dst (u32 sw_if_index, u32 thread_index, ip_address_family_t af, - const ip46_address_t * ip); + const ip46_address_t *ip); extern void ip_neighbor_mark (ip_address_family_t af); extern void ip_neighbor_sweep (ip_address_family_t af); +extern walk_rc_t ip_neighbor_mark_one (index_t ipni, void *ctx); /** * From the watcher to the API to publish a new neighbor @@ -111,7 +114,6 @@ typedef struct ip_neighbor_vft_t_ extern void ip_neighbor_register (ip_address_family_t af, const ip_neighbor_vft_t * vft); - #endif /* __INCLUDE_IP_NEIGHBOR_H__ */ /* |