![]() |
FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
Include dependency graph for fib_path_ext.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | fib_path_ext_t_ |
| A path extension is a per-entry addition to the forwarding information when packets are sent for that entry over that path. More... | |
Macros | |
| #define | FIB_PATH_EXT_ADJ_ATTR_NAMES |
| #define | FOR_EACH_PATH_EXT_ADJ_ATTR(_item) |
| #define | fpe_label_stack fpe_path.frp_label_stack |
Typedefs | |
| typedef enum fib_path_ext_type_t_ | fib_path_ext_type_t |
| A description of the type of path extension. More... | |
| typedef enum fib_path_ext_adj_attr_t_ | fib_path_ext_adj_attr_t |
| Flags present on an ADJ sourced path-extension. More... | |
| typedef enum fib_path_ext_adj_flags_t_ | fib_path_ext_adj_flags_t |
| typedef struct fib_path_ext_t_ | fib_path_ext_t |
| A path extension is a per-entry addition to the forwarding information when packets are sent for that entry over that path. More... | |
Enumerations | |
| enum | fib_path_ext_type_t_ { FIB_PATH_EXT_MPLS, FIB_PATH_EXT_ADJ } |
| A description of the type of path extension. More... | |
| enum | fib_path_ext_adj_attr_t_ { FIB_PATH_EXT_ADJ_ATTR_REFINES_COVER } |
| Flags present on an ADJ sourced path-extension. More... | |
| enum | fib_path_ext_adj_flags_t_ { FIB_PATH_EXT_ADJ_FLAG_NONE = 0, FIB_PATH_EXT_ADJ_FLAG_REFINES_COVER = (1 << FIB_PATH_EXT_ADJ_ATTR_REFINES_COVER) } |
| #define FIB_PATH_EXT_ADJ_ATTR_NAMES |
Definition at line 53 of file fib_path_ext.h.
| #define FOR_EACH_PATH_EXT_ADJ_ATTR | ( | _item | ) |
Definition at line 57 of file fib_path_ext.h.
| #define fpe_label_stack fpe_path.frp_label_stack |
Definition at line 80 of file fib_path_ext.h.
| typedef enum fib_path_ext_adj_attr_t_ fib_path_ext_adj_attr_t |
Flags present on an ADJ sourced path-extension.
| typedef enum fib_path_ext_adj_flags_t_ fib_path_ext_adj_flags_t |
| typedef struct fib_path_ext_t_ fib_path_ext_t |
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.
| typedef enum fib_path_ext_type_t_ fib_path_ext_type_t |
A description of the type of path extension.
Flags present on an ADJ sourced path-extension.
| Enumerator | |
|---|---|
| FIB_PATH_EXT_ADJ_ATTR_REFINES_COVER | |
Definition at line 42 of file fib_path_ext.h.
| Enumerator | |
|---|---|
| FIB_PATH_EXT_ADJ_FLAG_NONE | |
| FIB_PATH_EXT_ADJ_FLAG_REFINES_COVER | |
Definition at line 47 of file fib_path_ext.h.
| enum fib_path_ext_type_t_ |
A description of the type of path extension.
| Enumerator | |
|---|---|
| FIB_PATH_EXT_MPLS |
An MPLS extension that maintains the path's outgoing labels,. |
| FIB_PATH_EXT_ADJ |
A adj-source extension indicating the path's refinement criteria result. |
Definition at line 26 of file fib_path_ext.h.
| int fib_path_ext_cmp | ( | fib_path_ext_t * | path_ext, |
| const fib_route_path_t * | rpath | ||
| ) |
Definition at line 73 of file fib_path_ext.c.
Here is the call graph for this function:
Here is the caller graph for this function:| fib_path_ext_t* fib_path_ext_list_find | ( | const fib_path_ext_list_t * | list, |
| fib_path_ext_type_t | ext_type, | ||
| const fib_route_path_t * | rpath | ||
| ) |
Definition at line 265 of file fib_path_ext.c.
Here is the call graph for this function:
Here is the caller graph for this function:| fib_path_ext_t* fib_path_ext_list_find_by_path_index | ( | const fib_path_ext_list_t * | list, |
| fib_node_index_t | path_index | ||
| ) |
| void fib_path_ext_list_flush | ( | fib_path_ext_list_t * | list | ) |
| fib_path_ext_t* fib_path_ext_list_insert | ( | fib_path_ext_list_t * | list, |
| fib_node_index_t | path_list_index, | ||
| fib_path_ext_type_t | ext_type, | ||
| const fib_route_path_t * | rpath | ||
| ) |
Definition at line 326 of file fib_path_ext.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int fib_path_ext_list_length | ( | const fib_path_ext_list_t * | list | ) |
| fib_path_ext_t* fib_path_ext_list_push_back | ( | fib_path_ext_list_t * | list, |
| fib_node_index_t | path_list_index, | ||
| fib_path_ext_type_t | ext_type, | ||
| const fib_route_path_t * | rpath | ||
| ) |
Definition at line 300 of file fib_path_ext.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void fib_path_ext_list_remove | ( | fib_path_ext_list_t * | list, |
| fib_path_ext_type_t | ext_type, | ||
| const fib_route_path_t * | rpath | ||
| ) |
Definition at line 382 of file fib_path_ext.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void fib_path_ext_list_resolve | ( | fib_path_ext_list_t * | list, |
| fib_node_index_t | path_list_index | ||
| ) |
Definition at line 370 of file fib_path_ext.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void fib_path_ext_resolve | ( | fib_path_ext_t * | path_ext, |
| fib_node_index_t | path_list_index | ||
| ) |
Definition at line 96 of file fib_path_ext.c.
Here is the call graph for this function:
Here is the caller graph for this function:| load_balance_path_t* fib_path_ext_stack | ( | fib_path_ext_t * | path_ext, |
| fib_forward_chain_type_t | fct, | ||
| fib_forward_chain_type_t | imp_null_fct, | ||
| load_balance_path_t * | nhs | ||
| ) |
Definition at line 133 of file fib_path_ext.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 30 of file fib_path_ext.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 415 of file fib_path_ext.c.
Here is the call graph for this function:
Here is the caller graph for this function: