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
Recursive resolution source.
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)
union fib_entry_src_t_::@134 u
Source specific info.
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.
dpo_proto_t frp_proto
The protocol of the address below.
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.
struct fib_entry_src_t_::@134::@135 rr
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)
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.
void fib_entry_src_register(fib_source_t source, const fib_entry_src_vft_t *vft)
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
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.
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)
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)