FD.io VPP  v18.01-8-g0eacf49
Vector Packet Processing
fib_node_t_ Struct Reference

An node in the FIB graph. More...

Data Fields

fib_node_type_t fn_type
 The node's type. More...
 
u16 fn_pad
 Some pad space the concrete/derived type is free to use. More...
 
fib_node_list_t fn_children
 The node's VFT. 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 286 of file fib_node.h.

Field Documentation

fib_node_list_t fib_node_t_::fn_children

The node's VFT.

we could store the type here instead, and lookup the VFT using that. But I like this better, Vector of nodes that depend upon/use/share this node

Definition at line 306 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 312 of file fib_node.h.

u16 fib_node_t_::fn_pad

Some pad space the concrete/derived type is free to use.

Definition at line 295 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 290 of file fib_node.h.


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