aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/adj/adj_internal.h
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-03-31 07:36:33 +0000
committerNeale Ranns <neale@graphiant.com>2021-04-01 11:37:08 +0000
commitf339f49d2d4e503e1c3fb2ad5aedc539ab51b4f1 (patch)
tree9117c81ac9bf4a7a12e2516e604bf5adc2e850d5 /src/vnet/adj/adj_internal.h
parent5dffd84188855c1096fcd6d8bc4ed77a9de6debc (diff)
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 <neale@graphiant.com> Change-Id: Ibb2bfc756001735cc10ef0fd8db7e8b8358cf8e2
Diffstat (limited to 'src/vnet/adj/adj_internal.h')
-rw-r--r--src/vnet/adj/adj_internal.h8
1 files changed, 8 insertions, 0 deletions
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)
{