FD.io VPP  v19.01.3-6-g70449b9b9
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 185 of file fib_node.h.

Field Documentation

◆ fnp_index

fib_node_index_t fib_node_ptr_t_::fnp_index

node's index

Definition at line 193 of file fib_node.h.

◆ fnp_type

fib_node_type_t fib_node_ptr_t_::fnp_type

node type

Definition at line 189 of file fib_node.h.


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