X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fadj%2Fadj.h;h=1a841ed2892466edf879d21c1be0fd874051c75d;hb=cbe25aab3be72154f2c706c39eeba6a77f34450f;hp=9d1577fe911a86a27a1f13303bf70a2f0d853d94;hpb=7dbf9a1a4fff5c3b20ad972289e49e3f88e82f2d;p=vpp.git diff --git a/src/vnet/adj/adj.h b/src/vnet/adj/adj.h index 9d1577fe911..1a841ed2892 100644 --- a/src/vnet/adj/adj.h +++ b/src/vnet/adj/adj.h @@ -150,7 +150,7 @@ struct ip_adjacency_t_; * @brief A function type for post-rewrite fixups on midchain adjacency */ typedef void (*adj_midchain_fixup_t) (vlib_main_t * vm, - struct ip_adjacency_t_ * adj, + const struct ip_adjacency_t_ * adj, vlib_buffer_t * b0, const void *data); @@ -326,6 +326,10 @@ typedef struct ip_adjacency_t_ */ struct adj_delegate_t_ *ia_delegates; + /** + * The VLIB node in which this adj is used to forward packets + */ + u32 ia_node_index; } ip_adjacency_t; STATIC_ASSERT ((STRUCT_OFFSET_OF (ip_adjacency_t, cacheline0) == 0), @@ -389,12 +393,6 @@ extern int adj_is_up (adj_index_t ai); */ extern const u8* adj_get_rewrite (adj_index_t ai); -/** - * @brief Notify the adjacency subsystem that the features settings for - * an interface have changed - */ -extern void adj_feature_update (u32 sw_if_index, u8 arc_index, u8 is_enable); - /** * @brief descend the FIB graph looking for loops *