X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ffib%2Ffib_path.h;h=57dec6d90b41d18bc384fb5b366ab5392a2a9a0e;hb=470a3704e38d710018f1aa55c8bf857e55fbc069;hp=28ec10a98d53ed2c84a64e7ba239cb5768dc3376;hpb=31ed74407643595fdce206e9d7487108fb8b33ab;p=vpp.git diff --git a/src/vnet/fib/fib_path.h b/src/vnet/fib/fib_path.h index 28ec10a98d5..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); @@ -178,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