FD.io VPP  v20.09-64-g4f7b92f0a
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 189 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 197 of file fib_node.h.

◆ fnp_type

fib_node_type_t fib_node_ptr_t_::fnp_type

node type

Definition at line 193 of file fib_node.h.


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