![]() |
FD.io VPP
v16.12-rc0-308-g931be3a
Vector Packet Processing
|
An node in the FIB graph. More...
Data Fields | |
fib_node_type_t | fn_type |
The node's type. More... | |
const fib_node_vft_t * | fn_vft |
The node's VFT. More... | |
fib_node_list_t | fn_children |
Vector of nodes that depend upon/use/share this node. More... | |
u32 | fn_locks |
Number of dependents on this node. More... | |
An node in the FIB graph.
Objects in the FIB form a graph.
Definition at line 242 of file fib_node.h.
fib_node_list_t fib_node_t_::fn_children |
Vector of nodes that depend upon/use/share this node.
Definition at line 259 of file fib_node.h.
u32 fib_node_t_::fn_locks |
Number of dependents on this node.
This number includes the number of children
Definition at line 265 of file fib_node.h.
fib_node_type_t fib_node_t_::fn_type |
The node's type.
make sure we are dynamic/down casting correctly
Definition at line 247 of file fib_node.h.
const fib_node_vft_t* fib_node_t_::fn_vft |
The node's VFT.
we could store the type here instead, and lookup the VFT using that. But I like this better,
Definition at line 254 of file fib_node.h.