107 src->
u.
lisp.fesl_fib_index = *(
u32*)data;
114 return (&(src->
u.
lisp.fesl_fib_index));
fib_entry_src_init_t fesv_init
static void fib_entry_src_lisp_init(fib_entry_src_t *src)
Source initialisation Function.
A representation of a path as described by a route producer.
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 void fib_entry_src_lisp_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)
static const void * fib_entry_src_lisp_get_data(fib_entry_src_t *src, const fib_entry_t *entry)
static void fib_entry_src_lisp_path_remove(fib_entry_src_t *src, fib_path_list_flags_t pl_flags, const fib_route_path_t *paths)
union fib_entry_src_t_::@137 u
Source specific info.
void fib_entry_src_lisp_register(void)
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
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)
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
static void fib_entry_src_lisp_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_node_index_t fib_path_list_create(fib_path_list_flags_t flags, const fib_route_path_t *rpaths)
static void fib_entry_src_lisp_deinit(fib_entry_src_t *src)
Source deinitialisation Function.
static void fib_entry_src_lisp_path_add(fib_entry_src_t *src, const fib_entry_t *entry, fib_path_list_flags_t pl_flags, const fib_route_path_t *paths)
struct fib_entry_src_t_::@137::@143 lisp
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_lisp_set_data(fib_entry_src_t *src, const fib_entry_t *entry, const void *data)
fib_path_list_flags_t fib_entry_src_flags_2_path_list_flags(fib_entry_flag_t eflags)
static void fib_entry_src_lisp_remove(fib_entry_src_t *src)
enum fib_entry_flag_t_ fib_entry_flag_t
void fib_entry_src_register(fib_source_t source, const fib_entry_src_vft_t *vft)
vl_api_mfib_path_t paths[n_paths]
fib_node_index_t fes_pl
The path-list created by the source.
#define FIB_NODE_INDEX_INVALID
enum fib_path_list_flags_t_ fib_path_list_flags_t
vl_api_fib_path_nh_proto_t proto