FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
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 | fpe_label_stack fpe_path.frp_label_stack |
Typedefs | |
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... | |
Functions | |
u8 * | format_fib_path_ext (u8 *s, va_list *args) |
void | fib_path_ext_init (fib_path_ext_t *path_ext, fib_node_index_t path_list_index, const fib_route_path_t *rpath) |
int | fib_path_ext_cmp (fib_path_ext_t *path_ext, const fib_route_path_t *rpath) |
void | fib_path_ext_resolve (fib_path_ext_t *path_ext, fib_node_index_t path_list_index) |
load_balance_path_t * | fib_path_ext_stack (fib_path_ext_t *path_ext, const struct fib_entry_t_ *entry, fib_forward_chain_type_t fct, load_balance_path_t *nhs) |
#define fpe_label_stack fpe_path.frp_label_stack |
Definition at line 40 of file fib_path_ext.h.
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.
int fib_path_ext_cmp | ( | fib_path_ext_t * | path_ext, |
const fib_route_path_t * | rpath | ||
) |
Definition at line 47 of file fib_path_ext.c.
void fib_path_ext_init | ( | fib_path_ext_t * | path_ext, |
fib_node_index_t | path_list_index, | ||
const fib_route_path_t * | rpath | ||
) |
Definition at line 84 of file fib_path_ext.c.
void fib_path_ext_resolve | ( | fib_path_ext_t * | path_ext, |
fib_node_index_t | path_list_index | ||
) |
Definition at line 71 of file fib_path_ext.c.
load_balance_path_t* fib_path_ext_stack | ( | fib_path_ext_t * | path_ext, |
const struct fib_entry_t_ * | entry, | ||
fib_forward_chain_type_t | fct, | ||
load_balance_path_t * | nhs | ||
) |
Definition at line 28 of file fib_path_ext.c.