|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
22 #ifndef __FIB_NODE_LIST_H__
23 #define __FIB_NODE_LIST_H__
void fib_node_list_memory_show(void)
void fib_node_list_elt_remove(u32 sibling)
u32 fib_node_list_t
A list of FIB nodes.
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.
void fib_node_list_remove(fib_node_list_t head, u32 sibling)
u32 fib_node_list_get_size(fib_node_list_t head)
enum fib_node_type_t_ fib_node_type_t
The types of nodes in a FIB graph.
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.
A representation of one pointer to another node.
fib_node_list_t fib_node_list_create(void)
a hetrogeneous w.r.t.
int fib_node_list_advance(u32 sibling)
Advance the sibling one step (toward the tail) in the list.
int fib_node_list_elt_get_next(u32 elt, fib_node_ptr_t *ptr)
void fib_node_list_destroy(fib_node_list_t *list)
u32 fib_node_list_push_back(fib_node_list_t head, int owner_id, fib_node_type_t type, fib_node_index_t index)
int fib_node_list_get_front(fib_node_list_t head, fib_node_ptr_t *ptr)
void fib_node_list_walk(fib_node_list_t head, fib_node_list_walk_cb_t fn, void *args)
Walk the list of node.
enum walk_rc_t_ walk_rc_t
Walk return code.
vl_api_fib_path_type_t type