FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
fib_node_t_ Struct Reference

An node in the FIB graph. More...

+ Collaboration diagram for fib_node_t_:

Data Fields

fib_node_type_t fn_type
 The node's type. More...
 
const fib_node_vft_tfn_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...
 

Detailed Description

An node in the FIB graph.

Objects in the FIB form a graph.

Definition at line 277 of file fib_node.h.

Field Documentation

fib_node_list_t fib_node_t_::fn_children

Vector of nodes that depend upon/use/share this node.

Definition at line 294 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 300 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 282 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 289 of file fib_node.h.


The documentation for this struct was generated from the following file: