X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ffib%2Ffib_path.h;h=57dec6d90b41d18bc384fb5b366ab5392a2a9a0e;hb=775f73c6baaf9bc2283e7ab9752c81984823be99;hp=70b2f503aa885a26bd3f9a422ad4066a3bc8cfc0;hpb=9128637ee8f7b0d903551f165a1447d427e8dd19;p=vpp.git diff --git a/src/vnet/fib/fib_path.h b/src/vnet/fib/fib_path.h index 70b2f503aa8..57dec6d90b4 100644 --- a/src/vnet/fib/fib_path.h +++ b/src/vnet/fib/fib_path.h @@ -127,6 +127,11 @@ typedef enum fib_path_cfg_flags_t_ { FIB_PATH_CFG_FLAG_DEAG_SRC = (1 << FIB_PATH_CFG_ATTRIBUTE_DEAG_SRC), } __attribute__ ((packed)) fib_path_cfg_flags_t; +typedef enum fib_path_format_flags_t_ +{ + FIB_PATH_FORMAT_FLAGS_NONE = 0, + FIB_PATH_FORMAT_FLAGS_ONE_LINE = (1 << 0), +} fib_format_path_flags_t; extern u8 *format_fib_path(u8 *s, va_list *args); @@ -159,6 +164,7 @@ extern load_balance_path_t * fib_path_append_nh_for_multipath_hash( load_balance_path_t *hash_key); extern void fib_path_stack_mpls_disp(fib_node_index_t path_index, dpo_proto_t payload_proto, + fib_mpls_lsp_mode_t mode, dpo_id_t *dpo); extern void fib_path_contribute_forwarding(fib_node_index_t path_index, fib_forward_chain_type_t type, @@ -177,6 +183,7 @@ extern u32 fib_path_get_rpf_id(fib_node_index_t path_index); extern void fib_path_module_init(void); extern fib_path_list_walk_rc_t fib_path_encode(fib_node_index_t path_list_index, fib_node_index_t path_index, + const struct fib_path_ext_t_ *ext_list, void *ctx); #endif