106 } __attribute__ ((packed)) fib_path_type_t;
111 #define FIB_PATH_TYPE_MAX (FIB_PATH_TYPE_LAST + 1) 113 #define FIB_PATH_TYPES { \ 114 [FIB_PATH_TYPE_ATTACHED_NEXT_HOP] = "attached-nexthop", \ 115 [FIB_PATH_TYPE_ATTACHED] = "attached", \ 116 [FIB_PATH_TYPE_RECURSIVE] = "recursive", \ 117 [FIB_PATH_TYPE_SPECIAL] = "special", \ 118 [FIB_PATH_TYPE_EXCLUSIVE] = "exclusive", \ 119 [FIB_PATH_TYPE_DEAG] = "deag", \ 120 [FIB_PATH_TYPE_INTF_RX] = "intf-rx", \ 121 [FIB_PATH_TYPE_UDP_ENCAP] = "udp-encap", \ 122 [FIB_PATH_TYPE_RECEIVE] = "receive", \ 123 [FIB_PATH_TYPE_BIER_IMP] = "bier-imp", \ 124 [FIB_PATH_TYPE_BIER_TABLE] = "bier-table", \ 125 [FIB_PATH_TYPE_BIER_FMASK] = "bier-fmask", \ 128 #define FOR_EACH_FIB_PATH_TYPE(_item) \ 129 for (_item = FIB_PATH_TYPE_FIRST; \ 130 _item <= FIB_PATH_TYPE_LAST; \ 161 } __attribute__ ((packed)) fib_path_oper_attribute_t;
166 #define FIB_PATH_OPER_ATTRIBUTE_MAX (FIB_PATH_OPER_ATTRIBUTE_LAST + 1) 168 #define FIB_PATH_OPER_ATTRIBUTES { \ 169 [FIB_PATH_OPER_ATTRIBUTE_RECURSIVE_LOOP] = "recursive-loop", \ 170 [FIB_PATH_OPER_ATTRIBUTE_RESOLVED] = "resolved", \ 171 [FIB_PATH_OPER_ATTRIBUTE_DROP] = "drop", \ 174 #define FOR_EACH_FIB_PATH_OPER_ATTRIBUTE(_item) \ 175 for (_item = FIB_PATH_OPER_ATTRIBUTE_FIRST; \ 176 _item <= FIB_PATH_OPER_ATTRIBUTE_LAST; \ 405 #define FIB_PATH_DBG(_p, _fmt, _args...) \ 408 _tmp = fib_path_format(fib_path_get_index(_p), _tmp); \ 409 clib_warning("path:[%d:%U]:" _fmt, \ 410 fib_path_get_index(_p), format_fib_path, _p, 0,\ 415 #define FIB_PATH_DBG(_p, _fmt, _args...) 427 return (path - fib_path_pool);
447 u32 indent = va_arg (*args,
u32);
449 fib_path_oper_attribute_t oattr;
463 s =
format(s,
" oper-flags:");
466 s =
format (s,
"%s,", fib_path_oper_attribute_names[oattr]);
471 s =
format(s,
" cfg-flags:");
474 s =
format (s,
"%s,", fib_path_cfg_attribute_names[cattr]);
534 s =
format (s,
"via %U %U",
547 s =
format (s,
" in fib:%d",
551 s =
format (s,
" via-dpo:[%U:%d]",
560 s =
format (s,
"via bier-table:[%U}",
563 s =
format (s,
" via-dpo:[%U:%d]",
569 s =
format (s,
" via-dpo:[%U:%d]",
1236 memset(path, 0,
sizeof(*path));
1366 memset(path, 0,
sizeof(*path));
1414 memcpy(path, orig_path,
sizeof(*path));
1512 res = (path1->
attached.fp_interface -
1529 res = (path1->
bier_imp.fp_bier_imp -
1537 res = (path1->
deag.fp_tbl_id - path2->
deag.fp_tbl_id);
1540 res = (path1->
deag.fp_rpf_id - path2->
deag.fp_rpf_id);
1544 res = (path1->
intf_rx.fp_interface - path2->
intf_rx.fp_interface);
1734 entries = *entry_indicies;
2025 return (path->
attached.fp_interface);
2027 return (path->
receive.fp_interface);
2065 return (path->
udp_encap.fp_udp_encap_id);
2073 return (path->
bier_imp.fp_bier_imp);
2128 return (path->
deag.fp_rpf_id);
2180 u32 rpf_sw_if_index;
2184 if (~0 != rpf_sw_if_index)
2238 path->
deag.fp_rpf_id,
2562 vec_add2(*api_rpaths, api_rpath, 1);
2633 s =
format(s,
"children:");
2656 .path =
"show fib paths",
2658 .short_help =
"show fib paths",
int fib_path_is_resolved(fib_node_index_t path_index)
Contribute an object that is to be used to forward BIER packets.
int fib_path_resolve(fib_node_index_t path_index)
Contribute an object that is to be used to forward IP6 packets.
ip46_address_t frp_addr
The next-hop address.
Recursive resolution source.
Contribute an object that is to be used to forward IP6 packets.
void receive_dpo_add_or_lock(dpo_proto_t proto, u32 sw_if_index, const ip46_address_t *nh_addr, dpo_id_t *dpo)
static fib_path_t * fib_path_from_fib_node(fib_node_t *node)
void bier_imp_contribute_forwarding(index_t bii, dpo_proto_t proto, dpo_id_t *dpo)
uword fib_path_hash(fib_node_index_t path_index)
fib_node_index_t path_index
The index of the FIB path.
A representation of a fib path for fib_path_encode to convey the information to the caller...
void fib_path_contribute_forwarding(fib_node_index_t path_index, fib_forward_chain_type_t fct, dpo_id_t *dpo)
index_t fp_bier_fmask
BIER FMask ID.
void lookup_dpo_add_or_lock_w_table_id(u32 table_id, dpo_proto_t proto, lookup_cast_t cast, lookup_input_t input, lookup_table_t table_config, dpo_id_t *dpo)
mpls_eos_bit_t frp_eos
EOS bit for the resolving label.
fib_path_oper_attribute_t_
Enurmeration of path operational (i.e.
int fib_entry_is_resolved(fib_node_index_t fib_entry_index)
Return !0 is the entry is reoslved, i.e.
index_t fib_path_get_resolving_index(fib_node_index_t path_index)
void fib_path_contribute_urpf(fib_node_index_t path_index, index_t urpf)
Contribute the path's adjacency to the list passed.
A representation of a path as described by a route producer.
u8 * format_dpo_type(u8 *s, va_list *args)
format a DPO type
dpo_id_t path_dpo
ID of the Data-path object.
int dpo_is_adj(const dpo_id_t *dpo)
Return TRUE is the DPO is any type of adjacency.
vnet_main_t * vnet_get_main(void)
u8 * format_bier_table_id(u8 *s, va_list *ap)
Format a BIER table ID.
adj_index_t adj_glean_add_or_lock(fib_protocol_t proto, u32 sw_if_index, const ip46_address_t *nh_addr)
Glean Adjacency.
#define FIB_PATH_OPER_ATTRIBUTES
#define STRUCT_MARK_PTR(v, f)
int fib_path_cmp(fib_node_index_t pi1, fib_node_index_t pi2)
A Drop path - resolve the path on the drop DPO.
void bier_fmask_contribute_forwarding(index_t bfmi, dpo_id_t *dpo)
void fib_node_init(fib_node_t *node, fib_node_type_t type)
index_t fp_bier_imp
The BIER imposition object this is part of the path's key, since the index_t of an imposition object ...
u32 fib_entry_child_add(fib_node_index_t fib_entry_index, fib_node_type_t child_type, fib_node_index_t child_index)
static int dpo_id_is_valid(const dpo_id_t *dpoi)
Return true if the DPO object is valid, i.e.
void fib_entry_get_prefix(fib_node_index_t fib_entry_index, fib_prefix_t *pfx)
A path that resolves via a BIER impostion object.
void fib_path_module_init(void)
int fib_path_is_exclusive(fib_node_index_t path_index)
void bier_imp_lock(index_t bii)
enum fib_node_back_walk_rc_t_ fib_node_back_walk_rc_t
Return code from a back walk function.
void fib_entry_contribute_forwarding(fib_node_index_t fib_entry_index, fib_forward_chain_type_t fct, dpo_id_t *dpo)
void udp_encap_lock(u32 id)
static void fib_path_bier_fmask_update(fib_path_t *path, dpo_id_t *dpo)
index_t frp_bier_imp
A path via a BIER imposition object.
void bier_table_ecmp_unlock(index_t bti)
u32 mpls_label_t
A label value only, i.e.
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.
void load_balance_map_path_state_change(fib_node_index_t path_index)
the state of a path has changed (it has no doubt gone down).
void fib_entry_child_remove(fib_node_index_t fib_entry_index, u32 sibling_index)
fib_node_index_t fp_tbl_id
The FIB table index in which to find the next-hop.
void dpo_copy(dpo_id_t *dst, const dpo_id_t *src)
atomic copy a data-plane object.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
u32 dpo_get_urpf(const dpo_id_t *dpo)
Get a uRPF interface for the DPO.
#define STRUCT_MARK(mark)
#define vec_add2(V, P, N)
Add N elements to end of vector V, return pointer to new elements in P.
A path that resolves via a BIER [ECMP] Table.
Contribute an object that is to be used to forward IP4 packets.
struct fib_path_t_::@118::@126 bier_table
#define STRUCT_OFFSET_OF(t, f)
void fib_node_deinit(fib_node_t *node)
static vnet_sw_interface_t * vnet_get_sw_interface(vnet_main_t *vnm, u32 sw_if_index)
dpo_proto_t frp_proto
The protocol of the address below.
struct fib_path_t_::@118::@127 bier_imp
bier_table_id_t frp_bier_tbl
A path that resolves via a BIER Table.
A path that result in received traffic being recieved/recirculated so that it appears to have arrived...
dpo_id_t fp_ex_dpo
The user provided 'exclusive' DPO.
int fib_path_is_looped(fib_node_index_t path_index)
void adj_child_remove(adj_index_t adj_index, u32 sibling_index)
Remove a child dependent.
#define pool_get(P, E)
Allocate an object E from a pool P (unspecified alignment).
The path has become a permanent drop.
int fib_path_cmp_for_sort(void *v1, void *v2)
#define ip46_address_cmp(ip46_1, ip46_2)
#define pool_len(p)
Number of elements in pool vector.
ip46_address_t fp_ip
The next-hop.
load_balance_path_t * fib_path_append_nh_for_multipath_hash(fib_node_index_t path_index, fib_forward_chain_type_t fct, load_balance_path_t *hash_key)
void fib_node_register_type(fib_node_type_t type, const fib_node_vft_t *vft)
fib_node_register_type
const dpo_id_t * drop_dpo_get(dpo_proto_t proto)
fib_rpf_id_t frp_rpf_id
The RPF-ID.
A local path with a RPF-ID => multicast traffic.
struct fib_path_t_::@118::@125 bier_fmask
fib_path_type_t fp_type
The type of the path.
struct fib_path_t_::@118::@123 attached
u32 frp_sw_if_index
The interface.
mpls_eos_bit_t fp_eos
The EOS bit of the resolving label.
void fib_table_entry_special_remove(u32 fib_index, const fib_prefix_t *prefix, fib_source_t source)
Remove a 'special' entry from the FIB.
static const adj_index_t fib_path_attached_next_hop_get_adj(fib_path_t *path, vnet_link_t link)
void bier_table_contribute_forwarding(index_t bti, dpo_id_t *dpo)
Recursion constraint of via a host prefix.
fib_node_index_t fib_path_copy(fib_node_index_t path_index, fib_node_index_t path_list_index)
u8 * format_bier_imp(u8 *s, va_list *args)
void bier_fmask_child_remove(fib_node_index_t bfmi, u32 sibling_index)
Aggregrate type for a prefix.
fib_path_cfg_flags_t fp_cfg_flags
Configuration Flags.
void fib_entry_contribute_urpf(fib_node_index_t entry_index, index_t urpf)
Contribute the set of Adjacencies that this entry forwards with to build the uRPF list of its childre...
void fib_show_memory_usage(const char *name, u32 in_use_elts, u32 allocd_elts, size_t size_elt)
Show the memory usage for a type.
fib_node_t fp_node
A path is a node in the FIB graph.
void adj_unlock(adj_index_t adj_index)
Release a reference counting lock on the adjacency.
A path via a UDP encap object.
dpo_id_t fp_dpo
The Data-path objects through which this path resolves for IP.
#define FIB_PATH_CFG_ATTRIBUTES
Contribute an object that is to be used to forward Ethernet packets.
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
fib_protocol_t dpo_proto_to_fib(dpo_proto_t dpo_proto)
struct fib_path_t_::@118::@122 attached_next_hop
int load_balance_is_drop(const dpo_id_t *dpo)
u16 fib_path_get_weight(fib_node_index_t path_index)
enum lookup_cast_t_ lookup_cast_t
Switch to use the packet's source or destination address for lookup.
void fib_urpf_list_append(index_t ui, u32 sw_if_index)
Append another interface to the list.
static void fib_path_attached_next_hop_set(fib_path_t *path)
fib_node_index_t fib_path_create_special(fib_node_index_t pl_index, dpo_proto_t nh_proto, fib_path_cfg_flags_t flags, const dpo_id_t *dpo)
fib_rpf_id_t fp_rpf_id
The RPF-ID to tag the packets with.
void bier_disp_table_contribute_forwarding(index_t bdti, dpo_id_t *dpo)
index_t frp_bier_fmask
Resolving via a BIER Fmask.
u8 * format_fib_path(u8 *s, va_list *args)
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
u32 fp_sibling
the index of this path in the parent's child list.
Contribute an object that is to be used to forward end-of-stack MPLS packets.
fib_node_bw_reason_flag_t fnbw_reason
The reason/trigger for the backwalk.
format_function_t format_mpls_eos_bit
format_function_t format_vnet_sw_interface_name
#define ADJ_INDEX_INVALID
Invalid ADJ index - used when no adj is known likewise blazoned capitals INVALID speak volumes where ...
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
int adj_is_up(adj_index_t ai)
Return true if the adjacency is 'UP', i.e.
dpo_proto_t fp_nh_proto
The protocol of the next-hop, i.e.
struct fib_path_t_ fib_path_t
A FIB path.
dpo_type_t dpoi_type
the type
int vnet_sw_interface_is_p2p(vnet_main_t *vnm, u32 sw_if_index)
adj_index_t fib_path_get_adj(fib_node_index_t path_index)
void l2_bridge_dpo_add_or_lock(u32 sw_if_index, dpo_id_t *dpo)
#define pool_put(P, E)
Free an object E in pool P.
index_t fp_via_bier_tbl
the resolving bier-table
Recursion constraint of via an attahced prefix.
void lookup_dpo_add_or_lock_w_fib_index(fib_node_index_t fib_index, dpo_proto_t proto, lookup_cast_t cast, lookup_input_t input, lookup_table_t table_config, dpo_id_t *dpo)
fib_node_type_t fn_type
The node's type.
struct fib_path_t_::@118::@128 deag
enum fib_path_cfg_attribute_t_ fib_path_cfg_attribute_t
Given a route of the form; q.r.s.t/Y via <interface> <next-hop>
An node in the FIB graph.
static fib_path_t * fib_path_pool
static fib_path_t * fib_path_get(fib_node_index_t index)
ip46_address_t fp_nh
The next-hop.
u32 fib_entry_get_resolving_interface(fib_node_index_t entry_index)
struct fib_path_t_::@118::@133 udp_encap
fib_path_oper_flags_t_
Path flags from the attributes.
fib_node_index_t fib_table_entry_special_add(u32 fib_index, const fib_prefix_t *prefix, fib_source_t source, fib_entry_flag_t flags)
Add a 'special' entry to the FIB.
struct fib_path_t_::@118::@130 exclusive
#define FOR_EACH_FIB_PATH_OPER_ATTRIBUTE(_item)
#define MPLS_FIB_DEFAULT_TABLE_ID
The path forms part of a recursive loop.
vnet_link_t fib_forw_chain_type_to_link_type(fib_forward_chain_type_t fct)
Convert from a chain type to the adjacencies link type.
fib_node_list_t fn_children
The node's VFT.
struct fib_path_t_::@118::@131 receive
int bier_table_id_cmp(const bier_table_id_t *btid1, const bier_table_id_t *btid2)
Compare to BIER table IDs for equality.
u8 * fib_path_format(fib_node_index_t pi, u8 *s)
Contribute an object that is to be used to forward NSH packets.
#define vec_free(V)
Free vector's memory (no header).
u32 fp_udp_encap_id
The UDP Encap object this path resolves through.
static void fib_path_last_lock_gone(fib_node_t *node)
static fib_node_index_t fib_path_get_index(fib_path_t *path)
int fib_entry_recursive_loop_detect(fib_node_index_t entry_index, fib_node_index_t **entry_indicies)
enum fib_path_oper_flags_t_ fib_path_oper_flags_t
Path flags from the attributes.
index_t fp_via_bier_fmask
the resolving bier-fmask
u32 fib_path_get_rpf_id(fib_node_index_t path_index)
u32 fib_node_index_t
A typedef of a node index.
void interface_rx_dpo_add_or_lock(dpo_proto_t proto, u32 sw_if_index, dpo_id_t *dpo)
#define pool_is_free_index(P, I)
Use free bitmap to query whether given index is free.
index_t mpls_disp_dpo_create(dpo_proto_t payload_proto, fib_rpf_id_t rpf_id, const dpo_id_t *dpo)
Create an MPLS label object.
Don't resolve the path, use the DPO the client provides.
u32 adj_index_t
An index for adjacencies.
void fib_prefix_from_ip46_addr(const ip46_address_t *addr, fib_prefix_t *pfx)
Host prefix from ip.
static void fib_path_memory_show(void)
The path is attached, despite what the next-hop may say.
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_prefix_from_mpls_label(mpls_label_t label, mpls_eos_bit_t eos, fib_prefix_t *prf)
Big train switch; FIB debugs on or off.
static fib_node_back_walk_rc_t fib_path_back_walk_notify(fib_node_t *node, fib_node_back_walk_ctx_t *ctx)
enum lookup_input_t_ lookup_input_t
Switch to use the packet's source or destination address for lookup.
Context passed between object during a back walk.
u32 fib_rpf_id_t
An RPF-ID is numerical value that is used RPF validate.
#define VLIB_CLI_COMMAND(x,...)
u32 fp_pl_index
The index of the path-list to which this path belongs.
static void fib_path_recursive_adj_update(fib_path_t *path, fib_forward_chain_type_t fct, dpo_id_t *dpo)
static const adj_index_t fib_path_attached_get_adj(fib_path_t *path, vnet_link_t link)
int fib_path_is_deag(fib_node_index_t path_index)
vnet_link_t dpo_proto_to_link(dpo_proto_t dp)
format a DPO protocol
fib_node_index_t fp_via_fib
the resolving via fib.
static int fib_path_is_permanent_drop(fib_path_t *path)
fib_path_list_walk_rc_t fib_path_encode(fib_node_index_t path_list_index, fib_node_index_t path_index, void *ctx)
enum vnet_link_t_ vnet_link_t
Link Type: A description of the protocol of packets on the link.
index_t bier_table_ecmp_create_and_lock(const bier_table_id_t *btid)
ip46_address_t fp_addr
The next-hop.
static fib_forward_chain_type_t fib_path_to_chain_type(const fib_path_t *path)
u8 frp_preference
A path preference.
bier_table_id_t fp_bier_tbl
The BIER table's ID.
uword hash_memory(void *p, word n_bytes, uword state)
A deag path using the packet's source not destination address.
enum fib_forward_chain_type_t_ fib_forward_chain_type_t
FIB output chain type.
fib_route_path_flags_t frp_flags
flags on the path
u32 fp_interface
The interface.
static clib_error_t * show_fib_path_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
A path that resolves via a BIER F-Mask.
u8 * format_dpo_id(u8 *s, va_list *args)
Format a DPO_id_t oject
A path that resolves via another table.
static uword vnet_sw_interface_is_admin_up(vnet_main_t *vnm, u32 sw_if_index)
format_function_t format_mpls_unicast_label
static void fib_path_unresolve(fib_path_t *path)
mpls_label_t frp_local_label
The MPLS local Label to reursively resolve through.
dpo_proto_t fib_path_get_proto(fib_node_index_t path_index)
fib_path_oper_flags_t fp_oper_flags
Memebers in this last section represent information that is dervied during resolution.
int fib_path_is_recursive_constrained(fib_node_index_t path_index)
void fib_path_list_back_walk(fib_node_index_t path_list_index, fib_node_back_walk_ctx_t *ctx)
enum fib_path_list_walk_rc_t_ fib_path_list_walk_rc_t
return code to control pat-hlist walk
u32 fib_path_get_resolving_interface(fib_node_index_t path_index)
index_t dpoi_index
the index of objects of that type
void fib_path_stack_mpls_disp(fib_node_index_t path_index, dpo_proto_t payload_proto, dpo_id_t *dpo)
#define FIB_NODE_INDEX_INVALID
u32 path_weight
weight for the path.
u32 adj_child_add(adj_index_t adj_index, fib_node_type_t child_type, fib_node_index_t child_index)
Add a child dependent to an adjacency.
u16 fib_path_get_preference(fib_node_index_t path_index)
#define DPO_INVALID
An initialiser for DPOs declared on the stack.
#define FIB_PATH_DBG(_p, _fmt, _args...)
fib_node_index_t fib_path_create(fib_node_index_t pl_index, const fib_route_path_t *rpath)
u8 fp_weight
UCMP [unnormalised] weigth.
One path from an [EU]CMP set that the client wants to add to a load-balance object.
enum fib_path_cfg_flags_t_ fib_path_cfg_flags_t
Path config flags from the attributes.
u8 * format_dpo_proto(u8 *s, va_list *args)
format a DPO protocol
int fib_path_recursive_loop_detect(fib_node_index_t path_index, fib_node_index_t **entry_indicies)
A FIB graph nodes virtual function table.
static fib_path_cfg_flags_t fib_path_route_flags_to_cfg_flags(const fib_route_path_t *rpath)
int dpo_is_drop(const dpo_id_t *dpo)
The Drop DPO will drop all packets, no questions asked.
struct fib_path_t_::@118::@132 intf_rx
adj_index_t adj_mcast_add_or_lock(fib_protocol_t proto, vnet_link_t link_type, u32 sw_if_index)
Mcast Adjacency.
adj_index_t adj_nbr_add_or_lock(fib_protocol_t nh_proto, vnet_link_t link_type, const ip46_address_t *nh_addr, u32 sw_if_index)
Neighbour Adjacency sub-type.
void dpo_reset(dpo_id_t *dpo)
reset a DPO ID The DPO will be unlocked.
mpls_label_t fp_local_label
The local label to resolve through.
#define vec_foreach(var, vec)
Vector iterator.
fib_path_type_t_
Enurmeration of path types.
Contribute an object that is to be used to forward non-end-of-stack MPLS packets. ...
void udp_encap_unlock_w_index(index_t uei)
#define pool_foreach_index(i, v, body)
Iterate pool by index.
u8 * fib_node_children_format(fib_node_list_t list, u8 *s)
u8 fp_preference
A path preference.
u8 frp_weight
[un]equal cost path weight
struct fib_path_t_::@118::@124 recursive
fib_source_t fib_entry_get_best_source(fib_node_index_t entry_index)
u32 frp_udp_encap_id
UDP encap ID.
#define ip46_address_is_zero(ip46)
Contribute an object that is to be used to forward IP4 packets.
u32 bier_fmask_child_add(fib_node_index_t bfmi, fib_node_type_t child_type, fib_node_index_t child_index)
void bier_imp_unlock(index_t bii)
u32 frp_fib_index
The FIB index to lookup the nexthop Only valid for recursive paths.
void vlib_cli_output(vlib_main_t *vm, char *fmt,...)
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.
void fib_path_destroy(fib_node_index_t path_index)
#define FOR_EACH_FIB_PATH_CFG_ATTRIBUTE(_item)
static int fib_path_cmp_i(const fib_path_t *path1, const fib_path_t *path2)
void udp_encap_contribute_forwarding(u32 id, dpo_proto_t proto, dpo_id_t *dpo)
const ip46_address_t zero_addr
int fib_path_cmp_w_route_path(fib_node_index_t path_index, const fib_route_path_t *rpath)
static fib_node_t * fib_path_get_node(fib_node_index_t index)
enum mpls_eos_bit_t_ mpls_eos_bit_t
index_t fp_bier_fib
The BIER FIB the fmask is in.
fib_entry_flag_t fib_entry_get_flags(fib_node_index_t fib_entry_index)
static uword pool_elts(void *v)
Number of active elements in a pool.