|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
static void fib_entry_src_api_remove(fib_entry_src_t *src)
static void fib_entry_src_api_path_swap(fib_entry_src_t *src, const fib_entry_t *entry, fib_path_list_flags_t pl_flags, const fib_route_path_t *rpaths)
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
Information related to the source of a FIB entry.
#define FIB_NODE_INDEX_INVALID
static void fib_entry_src_api_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)
void fib_path_ext_list_flush(fib_path_ext_list_t *list)
enum fib_path_list_flags_t_ fib_path_list_flags_t
fib_mpls_label_t * frp_label_stack
The outgoing MPLS label Stack.
Virtual function table each FIB entry source will register.
enum fib_entry_flag_t_ fib_entry_flag_t
void fib_path_ext_list_remove(fib_path_ext_list_t *list, fib_path_ext_type_t ext_type, const fib_route_path_t *rpath)
@ FIB_PATH_LIST_FLAG_SHARED
static void fib_entry_src_api_deinit(fib_entry_src_t *src)
Source deinitialisation Function.
const static fib_entry_src_vft_t api_src_vft
static void fib_entry_src_api_path_add(fib_entry_src_t *src, const fib_entry_t *entry, fib_path_list_flags_t pl_flags, const fib_route_path_t *rpaths)
void fib_path_ext_list_resolve(fib_path_ext_list_t *list, fib_node_index_t path_list_index)
@ FIB_SOURCE_BH_API
add paths with [mpls] path extensions
@ FIB_PATH_EXT_MPLS
An MPLS extension that maintains the path's outgoing labels,.
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)
fib_node_index_t fib_path_list_copy_and_path_remove(fib_node_index_t orig_path_list_index, fib_path_list_flags_t flags, const fib_route_path_t *rpaths)
static void fib_entry_src_api_path_remove(fib_entry_src_t *src, fib_path_list_flags_t pl_flags, const fib_route_path_t *rpaths)
static void fib_entry_src_api_init(fib_entry_src_t *src)
Source initialisation Function.
A representation of a path as described by a route producer.
#define vec_foreach(var, vec)
Vector iterator.
fib_entry_src_init_t fesv_init
fib_path_ext_t * fib_path_ext_list_push_back(fib_path_ext_list_t *list, fib_node_index_t path_list_index, fib_path_ext_type_t ext_type, const fib_route_path_t *rpath)
fib_path_ext_t * fib_path_ext_list_insert(fib_path_ext_list_t *list, fib_node_index_t path_list_index, fib_path_ext_type_t ext_type, const fib_route_path_t *rpath)
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
void fib_entry_src_behaviour_register(fib_source_behaviour_t bh, const fib_entry_src_vft_t *vft)
fib_node_index_t fib_path_list_copy_and_path_add(fib_node_index_t orig_path_list_index, fib_path_list_flags_t flags, const fib_route_path_t *rpaths)
void fib_entry_src_api_register(void)
fib_node_index_t fib_path_list_create(fib_path_list_flags_t flags, const fib_route_path_t *rpaths)
fib_path_list_flags_t fib_entry_src_flags_2_path_list_flags(fib_entry_flag_t eflags)
vl_api_wireguard_peer_flags_t flags