|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
91 .fes_entry_flags =
flags,
274 if (
ctx->n_recursive_constrained > 1 &&
372 nh->path_index = path_index;
383 nh->path_index = path_index;
397 nh->path_index = path_index;
433 esrc = &
ctx->fib_entry->fe_srcs[
ctx->end_source_index];
445 ctx->n_recursive_constrained += 1;
447 if (0xffff ==
ctx->preference)
470 if (NULL != path_ext)
535 esrc = &
ctx->fib_entry->fe_srcs[
index];
545 if (NULL != interposer)
605 .fib_entry = fib_entry,
607 .n_recursive_constrained = 0,
609 .preference = 0xffff,
610 .start_source_index = start,
611 .end_source_index =
end,
827 (orig_src, fib_entry, esrc));
888 if (cover_src == esrc)
963 if (cover_src == esrc)
1028 fib_entry_src_covered_inherit_add_i(covered, src);
1077 int houston_we_are_go_for_install;
1092 houston_we_are_go_for_install = vft->
fesv_activate(esrc, fib_entry);
1100 houston_we_are_go_for_install = !0;
1123 if (0 != houston_we_are_go_for_install)
1185 (esrc, fib_entry, source));
1196 int remain_installed;
1217 remain_installed = 1;
1262 if (!remain_installed)
1313 (esrc, fib_entry,
flags));
1368 old_path_list_index = esrc->
fes_pl;
1423 ASSERT(NULL != cover_src);
1477 old_path_list = esrc->
fes_pl;
1651 old_path_list = esrc->
fes_pl;
1659 (esrc, fib_entry, pl_flags, rpaths));
1709 (esrc, fib_entry,
flags));
1719 old_path_list = esrc->
fes_pl;
1757 old_path_list = esrc->
fes_pl;
1765 (esrc, pl_flags, rpaths));
1927 (esrc, fib_entry,
data));
#define vec_reset_length(v)
Reset vector length to zero NULL-pointer tolerant.
const fib_entry_t * fib_entry
void fib_entry_unlock(fib_node_index_t fib_entry_index)
fib_entry_t * fib_entry_src_action_path_swap(fib_entry_t *fib_entry, fib_source_t source, fib_entry_flag_t flags, const fib_route_path_t *rpaths)
adj_index_t fib_entry_get_adj_for_source(fib_node_index_t fib_entry_index, fib_source_t source)
fib_entry_flag_t fib_entry_get_flags_i(const fib_entry_t *fib_entry)
union fib_entry_src_t_::@292 u
Source specific info.
@ FIB_PATH_LIST_FLAG_DROP
void fib_entry_mark(fib_node_index_t fib_entry_index, fib_source_t source)
Result from a cover update/change.
static void fib_entry_src_action_fwd_update(const fib_entry_t *fib_entry, fib_source_t source)
index_t dpoi_index
the index of objects of that type
#define DPO_INVALID
An initialiser for DPOs declared on the stack.
void fib_entry_src_mk_lb(fib_entry_t *fib_entry, fib_source_t source, fib_forward_chain_type_t fct, dpo_id_t *dpo_lb)
int fib_entry_is_marked(fib_node_index_t fib_entry_index, fib_source_t source)
fib_forward_chain_type_t fib_entry_delegate_type_to_chain_type(fib_entry_delegate_type_t fdt)
int fib_path_list_is_popular(fib_node_index_t path_list_index)
void fib_entry_src_action_install(fib_entry_t *fib_entry, fib_source_t source)
#define clib_memcpy(d, s, n)
static fib_table_walk_rc_t fib_entry_src_covered_inherit_add_i(fib_entry_t *fib_entry, const fib_entry_src_t *cover_src)
@ FIB_NODE_BW_REASON_FLAG_NONE
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
#define ADJ_INDEX_INVALID
Invalid ADJ index - used when no adj is known likewise blazoned capitals INVALID speak volumes where ...
static int fib_urpf_check_size(index_t ui)
Data-Plane function to check the size of an uRPF list, (i.e.
fib_source_behaviour_t fib_source_get_behaviour(fib_source_t src)
void fib_table_sub_tree_walk(u32 fib_index, fib_protocol_t proto, const fib_prefix_t *root, fib_table_walk_fn_t fn, void *ctx)
Walk all entries in a sub-tree FIB table.
static int fib_entry_src_cmp_for_sort(void *v1, void *v2)
flow_hash_config_t fib_table_get_default_flow_hash_config(fib_protocol_t proto)
Get the flow hash configured used by the protocol.
load_balance_path_t * fib_path_ext_stack(fib_path_ext_t *path_ext, fib_forward_chain_type_t child_fct, fib_forward_chain_type_t imp_null_fct, load_balance_path_t *nhs)
@ FIB_FORW_CHAIN_TYPE_MPLS_EOS
Contribute an object that is to be used to forward end-of-stack MPLS packets.
const fib_entry_src_vft_t * fib_entry_src_get_vft(const fib_entry_src_t *esrc)
Get the VFT for a given source.
void fib_entry_src_adj_register(void)
@ FIB_ENTRY_SRC_FLAG_ACTIVE
index_t fib_path_list_get_urpf(fib_node_index_t path_list_index)
Return the the child the RPF list pre-built for this path list.
@ FIB_ENTRY_SRC_FLAG_STALE
@ FIB_ENTRY_FLAG_ATTACHED
#define FIB_ENTRY_SRC_VFT_EXISTS(esrc, func)
Information related to the source of a FIB entry.
void fib_entry_src_lisp_register(void)
index_t load_balance_create(u32 n_buckets, dpo_proto_t lb_proto, flow_hash_config_t fhc)
#define FIB_NODE_INDEX_INVALID
enum fib_path_list_walk_rc_t_ fib_path_list_walk_rc_t
return code to control pat-hlist walk
ip46_address_t frp_addr
The next-hop address.
@ FIB_FORW_CHAIN_TYPE_MCAST_IP4
Contribute an object that is to be used to forward IP4 packets.
@ FIB_PATH_LIST_FLAG_LOCAL
void load_balance_set_urpf(index_t lbi, index_t urpf)
void fib_entry_src_action_reactivate(fib_entry_t *fib_entry, fib_source_t source)
#define MPLS_IETF_IMPLICIT_NULL_LABEL
static fib_path_list_walk_rc_t fib_entry_src_collect_forwarding(fib_node_index_t pl_index, fib_node_index_t path_index, void *arg)
fib_node_index_t fe_parent
the path-list for which this entry is a child.
@ FIB_FORW_CHAIN_TYPE_ETHERNET
Contribute an object that is to be used to forward Ethernet packets.
u32 fib_path_list_get_resolving_interface(fib_node_index_t path_list_index)
fib_entry_src_flag_t fib_entry_src_action_path_remove(fib_entry_t *fib_entry, fib_source_t source, const fib_route_path_t *rpaths)
u32 frp_sw_if_index
The interface.
#define FIB_ENTRY_SRC_VFT_INVOKE(_fe, esrc, func, args)
static int fib_path_is_attached(const fib_route_path_t *rpath)
void fib_entry_src_inherit(const fib_entry_t *cover, fib_entry_t *covered)
void fib_path_stack_mpls_disp(fib_node_index_t path_index, dpo_proto_t payload_proto, fib_mpls_lsp_mode_t mode, dpo_id_t *dpo)
@ FIB_PATH_LIST_FLAG_NONE
void fib_path_ext_list_flush(fib_path_ext_list_t *list)
@ FIB_ENTRY_FLAG_EXCLUSIVE
static fib_entry_src_t * fib_entry_src_action_update_from_cover(fib_entry_t *fib_entry, const fib_entry_src_t *orig_src)
fib_entry_src_flag_t fib_entry_src_action_remove_or_update_inherit(fib_entry_t *fib_entry, fib_source_t source)
@ FIB_ENTRY_FLAG_INTERPOSE
int fib_path_is_recursive_constrained(fib_node_index_t path_index)
fib_entry_src_reactivate_t fesv_reactivate
void load_balance_set_fib_entry_flags(index_t lbi, fib_entry_flag_t flags)
@ FIB_ROUTE_PATH_DVR
A path that resolves via a DVR DPO.
@ FIB_SOURCE_URPF_EXEMPT
uRPF bypass/exemption.
u32 fib_path_list_get_n_paths(fib_node_index_t path_list_index)
@ FIB_ENTRY_SRC_FLAG_INHERITED
void fib_entry_src_action_uninstall(fib_entry_t *fib_entry)
fib_path_ext_list_t fes_path_exts
A vector of path extensions.
struct fib_entry_src_collect_forwarding_ctx_t_ fib_entry_src_collect_forwarding_ctx_t
enum fib_path_list_flags_t_ fib_path_list_flags_t
void load_balance_multipath_update(const dpo_id_t *dpo, const load_balance_path_t *raw_nhs, load_balance_flags_t flags)
static void fib_entry_src_covered_inherit_add(fib_entry_t *fib_entry, fib_source_t source)
@ FIB_FORW_CHAIN_TYPE_NSH
Contribute an object that is to be used to forward NSH packets.
#define vec_elt(v, i)
Get vector value at index i.
@ FIB_ENTRY_FLAG_LOOSE_URPF_EXEMPT
void fib_table_fwding_dpo_update(u32 fib_index, const fib_prefix_t *prefix, const dpo_id_t *dpo)
Add or update an entry in the FIB's forwarding table.
@ FIB_FORW_CHAIN_TYPE_UNICAST_IP4
Contribute an object that is to be used to forward IP4 packets.
void fib_path_list_unlock(fib_node_index_t path_list_index)
u16 fib_path_get_preference(fib_node_index_t path_index)
u32 fe_sibling
index of this entry in the parent's child list.
Virtual function table each FIB entry source will register.
#define MPLS_LABEL_POP
A value that is explicit about the end of the LSP.
static void fib_entry_recursive_loop_detect_i(fib_node_index_t path_list_index)
fib_entry_src_t * fib_entry_src_find(const fib_entry_t *fib_entry, fib_source_t source)
static fib_table_walk_rc_t fib_entry_src_covered_inherit_walk_remove(fib_node_index_t fei, void *ctx)
#define vec_len(v)
Number of elements in vector (rvalue-only, NULL tolerant)
enum fib_entry_flag_t_ fib_entry_flag_t
@ FIB_ENTRY_FLAG_MULTICAST
void fib_entry_set_source_data(fib_node_index_t fib_entry_index, fib_source_t source, const void *data)
static load_balance_flags_t fib_entry_calc_lb_flags(fib_entry_src_collect_forwarding_ctx_t *ctx, const fib_entry_src_t *esrc)
Determine whether this FIB entry should use a load-balance MAP to support PIC edge fast convergence.
u32 fe_fib_index
The index of the FIB table this entry is in.
#define MPLS_IS_REPLICATE
The top bit of the index, which is the result of the MPLS lookup is used to determine if the DPO is a...
#define vec_add2(V, P, N)
Add N elements to end of vector V, return pointer to new elements in P.
fib_entry_src_t * fe_srcs
Vector of source infos.
#define vec_add1(V, E)
Add 1 element to end of vector (unspecified alignment).
adj_index_t fib_path_list_get_adj(fib_node_index_t path_list_index, fib_forward_chain_type_t type)
@ FIB_SOURCE_INVALID
An invalid source This is not a real source, so don't use it to source a prefix.
enum fib_forward_chain_type_t_ fib_forward_chain_type_t
FIB output chain type.
void fib_entry_lock(fib_node_index_t fib_entry_index)
dpo_proto_t fib_forw_chain_type_to_dpo_proto(fib_forward_chain_type_t fct)
Convert from a chain type to the DPO proto it will install.
fib_entry_flag_t fib_entry_get_flags_for_source(fib_node_index_t entry_index, fib_source_t source)
enum load_balance_flags_t_ load_balance_flags_t
@ FIB_ENTRY_SRC_FLAG_NONE
#define FIB_SOURCE_BH_MAX
f64 end
end of the time range
enum flow_hash_config_t_ flow_hash_config_t
A flow hash configuration is a mask of the flow hash options.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
u16 fib_source_get_prio(fib_source_t src)
static fib_entry_t * fib_entry_src_action_copy(fib_entry_t *fib_entry, const fib_entry_src_t *orig_src)
u32 fib_node_index_t
A typedef of a node index.
#define vec_foreach_index(var, v)
Iterate over vector indices.
fib_node_index_t fib_entry_get_index(const fib_entry_t *fib_entry)
@ LOAD_BALANCE_FLAG_USES_MAP
fib_entry_t * fib_entry_src_action_add(fib_entry_t *fib_entry, fib_source_t source, fib_entry_flag_t flags, const dpo_id_t *dpo)
u8 fes_ref_count
1 bytes ref count.
static int dpo_id_is_valid(const dpo_id_t *dpoi)
Return true if the DPO object is valid, i.e.
fib_source_t fib_entry_get_source_i(const fib_entry_t *fib_entry)
int fib_path_is_exclusive(fib_node_index_t path_index)
@ FIB_ROUTE_PATH_DEAG
A path that resolves via another table.
static void fib_entry_flags_update(const fib_entry_t *fib_entry, const fib_route_path_t *rpaths, fib_path_list_flags_t *pl_flags, fib_entry_src_t *esrc)
fib_entry_src_flag_t fib_entry_src_action_remove(fib_entry_t *fib_entry, fib_source_t source)
index_t replicate_create(u32 n_buckets, dpo_proto_t rep_proto)
void fib_entry_src_action_activate(fib_entry_t *fib_entry, fib_source_t source)
enum fib_entry_src_flag_t_ fib_entry_src_flag_t
#define vec_validate(V, I)
Make sure vector is long enough for given index (no header, unspecified alignment)
dpo_proto_t fp_payload_proto
This protocol determines the payload protocol of packets that will be forwarded by this entry once th...
static dpo_proto_t fib_prefix_get_payload_proto(const fib_prefix_t *pfx)
static int fib_entry_src_valid_out_label(mpls_label_t label)
void fib_path_contribute_forwarding(fib_node_index_t path_index, fib_forward_chain_type_t fct, dpo_id_t *dpo)
fib_path_ext_t * fib_path_ext_list_find_by_path_index(const fib_path_ext_list_t *list, fib_node_index_t path_index)
#define FIB_ENTRY_DBG(_e, _fmt, _args...)
enum fib_protocol_t_ fib_protocol_t
Protocol Type.
u32 fib_entry_get_resolving_interface_for_source(fib_node_index_t entry_index, fib_source_t source)
static void fib_entry_src_action_init(fib_entry_t *fib_entry, fib_source_t source, fib_entry_flag_t flags)
enum fib_source_behaviour_t_ fib_source_behaviour_t
Each source has a defined behaviour that controls how entries behave that have that source.
u32 fib_path_list_child_add(fib_node_index_t path_list_index, fib_node_type_t child_type, fib_node_index_t child_index)
@ FIB_SOURCE_BH_INTERPOSE
interpose
void fib_path_list_contribute_forwarding(fib_node_index_t path_list_index, fib_forward_chain_type_t fct, fib_path_list_fwd_flags_t flags, dpo_id_t *dpo)
#define MPLS_IETF_IPV6_EXPLICIT_NULL_LABEL
fib_entry_t * fib_entry_src_action_path_add(fib_entry_t *fib_entry, fib_source_t source, fib_entry_flag_t flags, const fib_route_path_t *rpaths)
int fib_path_is_deag(fib_node_index_t path_index)
@ FIB_PATH_LIST_WALK_STOP
fib_forward_chain_type_t fib_entry_get_default_chain_type(const fib_entry_t *fib_entry)
@ FIB_PATH_LIST_WALK_CONTINUE
fib_entry_t * fib_entry_src_action_installed(fib_entry_t *fib_entry, fib_source_t source)
u8 * fib_entry_src_format(fib_entry_t *fib_entry, fib_source_t source, u8 *s)
static u8 ip46_address_is_zero(const ip46_address_t *ip46)
@ FIB_TABLE_WALK_SUB_TREE_STOP
Do no traverse down this sub-tree.
flow_hash_config_t fib_table_get_flow_hash_config(u32 fib_index, fib_protocol_t proto)
Get the flow hash configured used by the table.
enum fib_entry_delegate_type_t_ fib_entry_delegate_type_t
Delegate types.
@ DPO_LOAD_BALANCE
load-balancing over a choice of [un]equal cost paths
#define vec_free(V)
Free vector's memory (no header).
@ FIB_PATH_EXT_MPLS
An MPLS extension that maintains the path's outgoing labels,.
void fib_entry_src_simple_register(void)
void dpo_copy(dpo_id_t *dst, const dpo_id_t *src)
atomic copy a data-plane object.
static void fib_entry_src_action_deinit(fib_entry_t *fib_entry, fib_source_t source)
@ FIB_FORW_CHAIN_TYPE_MPLS_NON_EOS
Contribute an object that is to be used to forward non-end-of-stack MPLS packets.
static void fib_entry_src_covered_inherit_remove(fib_entry_t *fib_entry, fib_entry_src_t *esrc)
fib_route_path_flags_t frp_flags
flags on the path
@ FIB_ENTRY_FLAG_COVERED_INHERIT
fib_path_ext_type_t fpe_type
The type of path extension.
fib_entry_t * fib_entry_get(fib_node_index_t index)
fib_protocol_t dpo_proto_to_fib(dpo_proto_t dpo_proto)
fib_entry_t * fib_entry_src_action_update(fib_entry_t *fib_entry, fib_source_t source, fib_entry_flag_t flags, const dpo_id_t *dpo)
void fib_entry_src_action_deactivate(fib_entry_t *fib_entry, fib_source_t source)
fib_entry_src_cover_res_t fib_entry_src_action_cover_change(fib_entry_t *fib_entry, fib_entry_src_t *esrc)
void fib_path_list_walk(fib_node_index_t path_list_index, fib_path_list_walk_fn_t func, void *ctx)
dpo_id_t dpo
Exclusive DPO.
u32 fib_table_get_index_for_sw_if_index(fib_protocol_t proto, u32 sw_if_index)
Get the index of the FIB bound to the interface.
void fib_urpf_list_append(index_t ui, u32 sw_if_index)
Append another interface to the list.
int fib_entry_is_sourced(fib_node_index_t fib_entry_index, fib_source_t source)
dpo_id_t fe_lb
The load-balance used for forwarding.
fib_forward_chain_type_t fib_forw_chain_type_from_dpo_proto(dpo_proto_t proto)
Convert from a payload-protocol to a chain type.
#define FOR_EACH_SRC_ADDED(_entry, _src, _source, action)
fib_source_t fes_src
Which source this info block is for.
static fib_table_walk_rc_t fib_entry_src_covered_inherit_walk_add(fib_node_index_t fei, void *ctx)
enum fib_table_walk_rc_t_ fib_table_walk_rc_t
return code controlling how a table walk proceeds
void fib_entry_src_rr_register(void)
A representation of a path as described by a route producer.
#define vec_foreach(var, vec)
Vector iterator.
int fib_path_is_resolved(fib_node_index_t path_index)
@ FIB_SOURCE_CLI
From the CLI.
int n_recursive_constrained
@ FIB_SOURCE_API
From the control plane API.
void fib_entry_source_change(fib_entry_t *fib_entry, fib_source_t old_source, fib_source_t new_source)
@ FIB_ROUTE_PATH_ATTACHED
Attached path.
@ FIB_FORW_CHAIN_TYPE_BIER
Contribute an object that is to be used to forward BIER packets.
static int fib_route_attached_cross_table(const fib_entry_t *fib_entry, const fib_route_path_t *rpath)
fib_protocol_t fp_proto
protocol type
const int fib_entry_get_dpo_for_source(fib_node_index_t fib_entry_index, fib_source_t source, dpo_id_t *dpo)
void fib_path_list_child_remove(fib_node_index_t path_list_index, u32 si)
@ FIB_FORW_CHAIN_TYPE_MCAST_IP6
Contribute an object that is to be used to forward IP6 packets.
void fib_entry_src_interpose_register(void)
#define vec_sort_with_function(vec, f)
Sort a vector using the supplied element comparison function.
void fib_entry_src_module_init(void)
const void * fib_entry_get_source_data(fib_node_index_t fib_entry_index, fib_source_t source)
dpo_proto_t fib_entry_get_dpo_proto(const fib_entry_t *fib_entry)
u32 adj_index_t
An index for adjacencies.
@ FIB_TABLE_WALK_CONTINUE
Continue on to the next entry.
void fib_path_list_lock(fib_node_index_t path_list_index)
const dpo_id_t * drop_dpo_get(dpo_proto_t proto)
const fib_prefix_t fe_prefix
The prefix of the route.
index_t fib_urpf_list_alloc_and_lock(void)
@ FIB_PATH_EXT_ADJ_FLAG_REFINES_COVER
@ FIB_ROUTE_PATH_GLEAN
A path that resolves via a glean adjacency.
fib_entry_flag_t fes_entry_flags
Flags the source contributes to the entry.
fib_path_ext_adj_flags_t fpe_adj_flags
For an ADJ type extension.
fib_entry_src_cover_res_t fib_entry_src_action_cover_update(fib_entry_t *fib_entry, fib_entry_src_t *esrc)
A path extension is a per-entry addition to the forwarding information when packets are sent for that...
#define MPLS_IETF_IPV4_EXPLICIT_NULL_LABEL
fib_entry_src_flag_t fes_flags
Flags on the source.
fib_entry_src_activate_t fesv_activate
@ FIB_PATH_LIST_FWD_FLAG_NONE
static void fib_entry_src_copy_default(const fib_entry_src_t *orig_src, const fib_entry_t *fib_entry, fib_entry_src_t *copy_src)
fib_node_index_t fib_table_get_less_specific(u32 fib_index, const fib_prefix_t *prefix)
Get the less specific (covering) prefix.
static fib_entry_src_t * fib_entry_src_find_or_create(fib_entry_t *fib_entry, fib_source_t source, fib_entry_flag_t flags)
fib_entry_src_copy_t fesv_copy
#define MPLS_LABEL_IS_REAL(_lbl)
fib_entry_src_flag_t fib_entry_special_remove(fib_node_index_t fib_entry_index, fib_source_t source)
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
enum fib_source_t_ fib_source_t
The different sources that can create a route.
u32 mpls_label_t
A label value only, i.e.
void fib_entry_src_api_register(void)
void fib_entry_src_behaviour_register(fib_source_behaviour_t bh, const fib_entry_src_vft_t *vft)
void dpo_mk_interpose(const dpo_id_t *original, const dpo_id_t *parent, dpo_id_t *clone)
Make an interpose DPO from an original.
void fib_table_fwding_dpo_remove(u32 fib_index, const fib_prefix_t *prefix, const dpo_id_t *dpo)
remove an entry in the FIB's forwarding table
@ FIB_PATH_LIST_FLAG_EXCLUSIVE
@ FIB_ENTRY_SRC_FLAG_ADDED
@ FIB_FORW_CHAIN_TYPE_UNICAST_IP6
Contribute an object that is to be used to forward IP6 packets.
void dpo_set(dpo_id_t *dpo, dpo_type_t type, dpo_proto_t proto, index_t index)
Set/create a DPO ID The DPO will be locked.
void fib_urpf_list_bake(index_t ui)
Convert the uRPF list from the itf set obtained during the walk to a unique list.
A Delagate is a means to implmenet the Delagation design pattern; the extension of an objects functio...
@ FIB_MPLS_LSP_MODE_PIPE
Pipe Mode - the default.
u16 fib_path_get_weight(fib_node_index_t path_index)
void fib_entry_src_drop_register(void)
@ FIB_PATH_EXT_ADJ
A adj-source extension indicating the path's refinement criteria result.
fib_protocol_t fib_entry_get_proto(const fib_entry_t *fib_entry)
fib_node_index_t fes_pl
The path-list created by the source.
One path from an [EU]CMP set that the client wants to add to a load-balance object.
void replicate_multipath_update(const dpo_id_t *dpo, load_balance_path_t *next_hops)
fib_forward_chain_type_t fib_entry_chain_type_fixup(const fib_entry_t *entry, fib_forward_chain_type_t fct)
Turn the chain type requested by the client into the one they really wanted.
fib_path_list_flags_t fib_entry_src_flags_2_path_list_flags(fib_entry_flag_t eflags)
void dpo_reset(dpo_id_t *dpo)
reset a DPO ID The DPO will be unlocked.
void fib_entry_src_interface_register(void)
void fib_entry_src_mpls_register(void)
fib_forward_chain_type_t fct
Aggregate type for a prefix.
int fib_path_list_recursive_loop_detect(fib_node_index_t path_list_index, fib_node_index_t **entry_indicies)
void fib_urpf_list_unlock(index_t ui)
fib_source_t fib_entry_get_best_source(fib_node_index_t entry_index)
#define FOR_EACH_DELEGATE_CHAIN(_entry, _fdt, _fed, _body)
dpo_id_t fd_dpo
Valid for the forwarding chain delegates.
@ FIB_ENTRY_SRC_FLAG_CONTRIBUTING
#define vec_del1(v, i)
Delete the element at index I.
load_balance_path_t * next_hops
static void fib_entry_src_get_path_forwarding(fib_node_index_t path_index, fib_entry_src_collect_forwarding_ctx_t *ctx)
#define FIB_ENTRY_SRC_VFT_INVOKE_AND_RETURN(esrc, func, args)
fib_entry_src_contribute_interpose_t fesv_contribute_interpose
static fib_entry_src_t * fib_entry_src_find_i(const fib_entry_t *fib_entry, fib_source_t source, u32 *index)
static fib_entry_src_vft_t fib_entry_src_bh_vft[FIB_SOURCE_BH_MAX]
vl_api_wireguard_peer_flags_t flags
@ FIB_ENTRY_FLAG_NO_ATTACHED_EXPORT