FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
fib_node_ptr_t_ Struct Reference

A representation of one pointer to another node. More...

Data Fields

fib_node_type_t fnp_type
 node type More...
 
fib_node_index_t fnp_index
 node's index More...
 

Detailed Description

A representation of one pointer to another node.

To fully qualify a node, one must know its type and its index so it can be retrieved from the appropriate pool. Direct pointers to nodes are forbidden, since all nodes are allocated from pools, which are vectors, and thus subject to realloc at any time.

Definition at line 180 of file fib_node.h.

Field Documentation

fib_node_index_t fib_node_ptr_t_::fnp_index

node's index

Definition at line 188 of file fib_node.h.

fib_node_type_t fib_node_ptr_t_::fnp_type

node type

Definition at line 184 of file fib_node.h.


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