X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=vnet%2Fvnet%2Ffib%2Ffib_entry.h;h=1016bb21948bc4ad49c37c375b6f6b40bdbb8af2;hb=6c3ebcc2bfd36a5835a99225ad667e4403293ffb;hp=1ed9d61951594dd3d9fc38c0e8d72407f2bc3651;hpb=5499b1968e1d12b736dd3e30b8fb2b69a300128f;p=vpp.git diff --git a/vnet/vnet/fib/fib_entry.h b/vnet/vnet/fib/fib_entry.h index 1ed9d619515..1016bb21948 100644 --- a/vnet/vnet/fib/fib_entry.h +++ b/vnet/vnet/fib/fib_entry.h @@ -261,6 +261,11 @@ _Static_assert (sizeof(fib_entry_src_flag_t) <= 2, * Information related to the source of a FIB entry */ typedef struct fib_entry_src_t_ { + /** + * A vector of path extensions + */ + struct fib_path_ext_t_ *fes_path_exts; + /** * The path-list created by the source */ @@ -273,10 +278,6 @@ typedef struct fib_entry_src_t_ { * Flags on the source */ fib_entry_src_flag_t fes_flags; - /** - * Flags the source contributes to the entry - */ - fib_entry_flag_t fes_entry_flags; /** * 1 bytes ref count. This is not the number of users of the Entry @@ -286,9 +287,9 @@ typedef struct fib_entry_src_t_ { u8 fes_ref_count; /** - * A vector of path extensions + * Flags the source contributes to the entry */ - struct fib_path_ext_t_ *fes_path_exts; + fib_entry_flag_t fes_entry_flags; /** * Source specific info @@ -502,7 +503,6 @@ extern int fib_entry_is_sourced(fib_node_index_t fib_entry_index, fib_source_t source); extern fib_node_index_t fib_entry_get_path_list(fib_node_index_t fib_entry_index); -extern u32 fib_entry_get_fib_table_id(fib_node_index_t fib_entry_index); extern void fib_entry_module_init(void);