struct ip_adjacency_t_::@149::@152 glean
IP_LOOKUP_NEXT_GLEAN.
fib_entry_src_init_t fesv_init
static void fib_entry_src_interface_remove(fib_entry_src_t *src)
vl_api_wireguard_peer_flags_t flags
A representation of a path as described by a route producer.
void fib_entry_cover_untrack(fib_entry_t *cover, u32 tracked_index)
adj_index_t fib_path_list_get_adj(fib_node_index_t path_list_index, fib_forward_chain_type_t type)
Virtual function table each FIB entry source will register.
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)
static fib_entry_src_cover_res_t fib_entry_src_interface_cover_change(fib_entry_src_t *src, const fib_entry_t *fib_entry)
Result from a cover update/change.
u32 fe_fib_index
The index of the FIB table this entry is in.
void fib_attached_export_covered_added(fib_entry_t *cover, fib_node_index_t covered)
u32 fib_entry_cover_track(fib_entry_t *cover, fib_node_index_t covered)
static ip_adjacency_t * adj_get(adj_index_t adj_index)
Get a pointer to an adjacency object from its index.
fib_node_index_t fib_entry_get_index(const fib_entry_t *fib_entry)
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
union ip_adjacency_t_::@149 sub_type
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
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.
This packet matches an "interface route" and packets need to be passed to ARP to find rewrite string ...
static int fib_entry_src_interface_activate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
fib_path_list_flags_t fib_entry_src_flags_2_path_list_flags(fib_entry_flag_t eflags)
u32 fib_node_index_t
A typedef of a node index.
u32 adj_index_t
An index for adjacencies.
fib_entry_t * fib_entry_get(fib_node_index_t index)
enum fib_entry_flag_t_ fib_entry_flag_t
vl_api_fib_path_t paths[n_paths]
fib_entry_flag_t fes_entry_flags
Flags the source contributes to the entry.
static void fib_entry_src_interface_add(fib_entry_src_t *src, const fib_entry_t *entry, fib_entry_flag_t flags, dpo_proto_t proto, const dpo_id_t *dpo)
fib_forward_chain_type_t fib_entry_get_default_chain_type(const fib_entry_t *fib_entry)
fib_node_index_t fes_pl
The path-list created by the source.
static void fib_entry_src_interface_init(fib_entry_src_t *src)
Source initialisation Function.
#define FIB_NODE_INDEX_INVALID
union fib_entry_src_t_::@275 u
Source specific info.
struct fib_entry_src_t_::@275::@279 interface
ip_lookup_next_t lookup_next_index
Next hop after ip4-lookup.
#define INDEX_INVALID
Invalid index - used when no index is known blazoned capitals INVALID speak volumes where ~0 does not...
static void fib_entry_src_interface_installed(fib_entry_src_t *src, const fib_entry_t *fib_entry)
static void fib_entry_src_interface_deactivate(fib_entry_src_t *src, const fib_entry_t *fib_entry)
enum fib_path_list_flags_t_ fib_path_list_flags_t
void fib_entry_src_behaviour_register(fib_source_behaviour_t bh, const fib_entry_src_vft_t *vft)
static void fib_entry_src_interface_path_swap(fib_entry_src_t *src, const fib_entry_t *entry, fib_path_list_flags_t pl_flags, const fib_route_path_t *paths)
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.
cover tracking w/ glean management
static u8 * fib_entry_src_interface_format(fib_entry_src_t *src, u8 *s)
void fib_entry_src_interface_register(void)