FD.io VPP  v21.01.1
Vector Packet Processing
fib_path_ext_t_ Struct Reference

A path extension is a per-entry addition to the forwarding information when packets are sent for that entry over that path. More...

+ Collaboration diagram for fib_path_ext_t_:

Data Fields

fib_route_path_t fpe_path
 A description of the path that is being extended. More...
 
union {
   fib_path_ext_adj_flags_t   fpe_adj_flags
 For an ADJ type extension. More...
 
   fib_path_ext_mpls_flags_t   fpe_mpls_flags
 For an MPLS type extension. More...
 
}; 
 
fib_path_ext_type_t fpe_type
 The type of path extension. More...
 
fib_node_index_t fpe_path_index
 The index of the path. More...
 

Detailed Description

A path extension is a per-entry addition to the forwarding information when packets are sent for that entry over that path.

For example: ip route add 1.1.1.1/32 via 10.10.10.10 out-label 100

The out-going MPLS label value 100 is a path-extension. It is a value sepcific to the entry 1.1.1.1/32 and valid only when packets are sent via 10.10.10.10.

Definition at line 98 of file fib_path_ext.h.

Field Documentation

◆ @332

union { ... }

◆ fpe_adj_flags

fib_path_ext_adj_flags_t fib_path_ext_t_::fpe_adj_flags

For an ADJ type extension.

Flags describing the adj state

Definition at line 114 of file fib_path_ext.h.

◆ fpe_mpls_flags

fib_path_ext_mpls_flags_t fib_path_ext_t_::fpe_mpls_flags

For an MPLS type extension.

Flags describing the mpls state

Definition at line 120 of file fib_path_ext.h.

◆ fpe_path

fib_route_path_t fib_path_ext_t_::fpe_path

A description of the path that is being extended.

This description is used to match this extension with the [changing] instance of a fib_path_t that is extended

Definition at line 105 of file fib_path_ext.h.

◆ fpe_path_index

fib_node_index_t fib_path_ext_t_::fpe_path_index

The index of the path.

This is the global index, not the path's position in the path-list.

Definition at line 132 of file fib_path_ext.h.

◆ fpe_type

fib_path_ext_type_t fib_path_ext_t_::fpe_type

The type of path extension.

Definition at line 126 of file fib_path_ext.h.


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