From f339f49d2d4e503e1c3fb2ad5aedc539ab51b4f1 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Wed, 31 Mar 2021 07:36:33 +0000 Subject: fib: Move the adjacency midchain nodes into a separate file Type: refactor It's only the nodes that require compiling for each arch, Signed-off-by: Neale Ranns Change-Id: Ibb2bfc756001735cc10ef0fd8db7e8b8358cf8e2 --- src/vnet/adj/adj_internal.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/vnet/adj/adj_internal.h') diff --git a/src/vnet/adj/adj_internal.h b/src/vnet/adj/adj_internal.h index 253c1e982c1..3dbf7e2a371 100644 --- a/src/vnet/adj/adj_internal.h +++ b/src/vnet/adj/adj_internal.h @@ -42,6 +42,14 @@ #define ADJ_DBG(_e, _fmt, _args...) #endif +/* + * Vlib nodes + */ +extern vlib_node_registration_t adj_nsh_midchain_node; +extern vlib_node_registration_t adj_nsh_rewrite_node; +extern vlib_node_registration_t adj_midchain_tx_no_count_node; +extern vlib_node_registration_t adj_midchain_tx_node; + static inline u32 adj_get_rewrite_node (vnet_link_t linkt) { -- cgit 1.2.3-korg