16 #ifndef __FIB_WALK_H__ 17 #define __FIB_WALK_H__ 32 #define FIB_WALK_PRIORITY_NUM ((fib_walk_priority_t)(FIB_WALK_PRIORITY_LOW+1)) 34 #define FIB_WALK_PRIORITIES { \ 35 [FIB_WALK_PRIORITY_HIGH] = "high", \ 36 [FIB_WALK_PRIORITY_LOW] = "low", \ 39 #define FOR_EACH_FIB_WALK_PRIORITY(_prio) \ 40 for ((_prio) = FIB_WALK_PRIORITY_HIGH; \ 41 (_prio) < FIB_WALK_PRIORITY_NUM; \ enum fib_node_type_t_ fib_node_type_t
The types of nodes in a FIB graph.
void fib_walk_module_init(void)
void fib_walk_process_disable(void)
fib_walk_priority_t_
Walk priorities.
void fib_walk_async(fib_node_type_t parent_type, fib_node_index_t parent_index, fib_walk_priority_t prio, fib_node_back_walk_ctx_t *ctx)
u8 * format_fib_walk_priority(u8 *s, va_list ap)
u32 fib_node_index_t
A typedef of a node index.
enum fib_walk_priority_t_ fib_walk_priority_t
Walk priorities.
Context passed between object during a back walk.
void fib_walk_sync(fib_node_type_t parent_type, fib_node_index_t parent_index, fib_node_back_walk_ctx_t *ctx)
Back walk all the children of a FIB node.
void fib_walk_process_enable(void)