144 src->
u.
rr.fesr_sibling =
265 old_path_list = src->
fes_pl;
294 return (
format(s,
" cover:%d", src->
u.
rr.fesr_cover));
fib_protocol_t fp_proto
protocol type
fib_entry_src_init_t fesv_init
void fib_entry_src_rr_resolve_via_connected(fib_entry_src_t *src, const fib_entry_t *fib_entry, const fib_entry_t *cover)
fib_node_bw_reason_flag_t bw_reason
fib_entry_flag_t fib_entry_get_flags_i(const fib_entry_t *fib_entry)
A representation of a path as described by a route producer.
void fib_entry_cover_untrack(fib_entry_t *cover, u32 tracked_index)
void fib_entry_src_rr_register(void)
Virtual function table each FIB entry source will register.
Definitions for all things IP (v4|v6) unicast and multicast lookup related.
Information related to the source of a FIB entry.
fib_node_index_t fib_path_list_create_special(dpo_proto_t nh_proto, fib_path_list_flags_t flags, const dpo_id_t *dpo)
#define vec_add1(V, E)
Add 1 element to end of vector (unspecified alignment).
Result from a cover update/change.
u32 fe_fib_index
The index of the FIB table this entry is in.
fib_node_index_t fe_parent
the path-list for which this entry is a child.
static void fib_entry_src_rr_init(fib_entry_src_t *src)
Source initialisation Function.
const dpo_id_t * drop_dpo_get(dpo_proto_t proto)
u32 fib_entry_cover_track(fib_entry_t *cover, fib_node_index_t covered)
fib_node_index_t fib_entry_get_index(const fib_entry_t *fib_entry)
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
fib_node_index_t fib_path_list_create(fib_path_list_flags_t flags, const fib_route_path_t *rpaths)
ip46_address_t fp_addr
The address type is not deriveable from the fp_addr member.
void fib_path_list_lock(fib_node_index_t path_list_index)
u32 fib_entry_get_resolving_interface(fib_node_index_t entry_index)
#define vec_free(V)
Free vector's memory (no header).
u32 fib_node_index_t
A typedef of a node index.
void fib_path_list_unlock(fib_node_index_t path_list_index)
fib_entry_t * fib_entry_get(fib_node_index_t index)
vl_api_fib_path_t paths[n_paths]
int fib_path_list_recursive_loop_detect(fib_node_index_t path_list_index, fib_node_index_t **entry_indicies)
fib_entry_flag_t fes_entry_flags
Flags the source contributes to the entry.
struct fib_entry_src_t_::@275::@276 rr
dpo_proto_t fib_proto_to_dpo(fib_protocol_t fib_proto)
void fib_entry_src_rr_use_covers_pl(fib_entry_src_t *src, const fib_entry_t *fib_entry, const fib_entry_t *cover)
fib_node_index_t fes_pl
The path-list created by the source.
static int fib_entry_src_rr_activate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
#define FIB_ENTRY_FLAGS_RR_INHERITED
#define FIB_NODE_INDEX_INVALID
union fib_entry_src_t_::@275 u
Source specific info.
fib_entry_src_cover_res_t fib_entry_src_rr_cover_update(fib_entry_src_t *src, const fib_entry_t *fib_entry)
static void fib_entry_src_rr_deactivate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Source Deactivate.
void fib_entry_src_behaviour_register(fib_source_behaviour_t bh, const fib_entry_src_vft_t *vft)
static u8 * fib_entry_src_rr_format(fib_entry_src_t *src, u8 *s)
fib_entry_src_cover_res_t fib_entry_src_rr_cover_change(fib_entry_src_t *src, const fib_entry_t *fib_entry)
If your adding a new source from a plugin these are probably not the behaviour you're lokking for...
const fib_prefix_t fe_prefix
The prefix of the route.
fib_node_index_t fib_table_get_less_specific(u32 fib_index, const fib_prefix_t *prefix)
Get the less specific (covering) prefix.
fib_entry_flag_t fib_entry_get_flags(fib_node_index_t fib_entry_index)