aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/fib_test.h
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-01-26 12:08:25 +0000
committerNeale Ranns <neale@graphiant.com>2021-02-01 11:59:42 +0000
commit1c59df770b73954468c45039ebda4491f2c2dbe6 (patch)
tree58214540e66c265add98560d3bc134b0cbc81211 /src/vnet/fib/fib_test.h
parent4b56340aacce8631ba0f1b52397ccd7fb9dfbb14 (diff)
fib: Changes to interpose source
Type: improvement 1) stack the interpose on any path-extensions (e.g. labels) from the next best source 2) allow more than 1 source to contribute a DPO for a given prefix Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: Idc2fbb36cfbd2387081765d8af0f1fbe61612160
Diffstat (limited to 'src/vnet/fib/fib_test.h')
-rw-r--r--src/vnet/fib/fib_test.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_test.h b/src/vnet/fib/fib_test.h
index b2abcf537fa..6bedd9ecaa5 100644
--- a/src/vnet/fib/fib_test.h
+++ b/src/vnet/fib/fib_test.h
@@ -27,6 +27,7 @@
typedef enum fib_test_lb_bucket_type_t_ {
FT_LB_LABEL_O_ADJ,
FT_LB_LABEL_STACK_O_ADJ,
+ FT_LB_LABEL_CHAIN_O_ADJ,
FT_LB_LABEL_O_LB,
FT_LB_O_LB,
FT_LB_MPLS_DISP_PIPE_O_ADJ,
@@ -55,6 +56,15 @@ typedef struct fib_test_lb_bucket_t_ {
struct
{
mpls_eos_bit_t eos;
+ mpls_label_t label_chain[8];
+ fib_mpls_lsp_mode_t mode;
+ u8 label_chain_size;
+ u8 ttl;
+ adj_index_t adj;
+ } label_chain_o_adj;
+ struct
+ {
+ mpls_eos_bit_t eos;
mpls_label_t label_stack[8];
fib_mpls_lsp_mode_t mode;
u8 label_stack_size;