22 #ifndef __FIB_NODE_LIST_H__ 23 #define __FIB_NODE_LIST_H__
u32 fib_node_list_push_back(fib_node_list_t head, int owner_id, fib_node_type_t type, fib_node_index_t index)
enum walk_rc_t_ walk_rc_t
Walk return code.
void fib_node_list_memory_show(void)
A representation of one pointer to another node.
u32 fib_node_list_push_front(fib_node_list_t head, int owner_id, fib_node_type_t type, fib_node_index_t index)
Insert an element at the from of the list.
vl_api_fib_path_type_t type
void fib_node_list_walk(fib_node_list_t head, fib_node_list_walk_cb_t fn, void *args)
Walk the list of node.
int fib_node_list_get_front(fib_node_list_t head, fib_node_ptr_t *ptr)
fib_node_list_t fib_node_list_create(void)
a hetrogeneous w.r.t.
void fib_node_list_destroy(fib_node_list_t *list)
void fib_node_list_remove(fib_node_list_t head, u32 sibling)
u32 fib_node_list_get_size(fib_node_list_t head)
void fib_node_list_elt_remove(u32 sibling)
u32 fib_node_index_t
A typedef of a node index.
walk_rc_t(* fib_node_list_walk_cb_t)(fib_node_ptr_t *owner, void *args)
Callback function invoked during a list walk.
int fib_node_list_elt_get_next(u32 elt, fib_node_ptr_t *ptr)
int fib_node_list_advance(u32 sibling)
Advance the sibling one step (toward the tail) in the list.
enum fib_node_type_t_ fib_node_type_t
The types of nodes in a FIB graph.
u32 fib_node_list_t
A list of FIB nodes.