GRE tests and fixes
[vpp.git] / vnet / vnet / adj / adj_internal.h
index 8c96659..833bc7c 100644 (file)
@@ -86,14 +86,15 @@ adj_get_index (ip_adjacency_t *adj)
 }
 
 extern void adj_nbr_update_rewrite_internal (ip_adjacency_t *adj,
-                                            adj_nbr_rewrite_flag_t flags,
+                                            ip_lookup_next_t adj_next_index,
                                             u32 complete_next_index,
                                             u32 next_index,
                                             u8 *rewrite);
 
 extern ip_adjacency_t * adj_alloc(fib_protocol_t proto);
 
-extern void adj_nbr_remove(fib_protocol_t nh_proto,
+extern void adj_nbr_remove(adj_index_t ai,
+                           fib_protocol_t nh_proto,
                           vnet_link_t link_type,
                           const ip46_address_t *nh_addr,
                           u32 sw_if_index);