FD.io VPP  v17.04-9-g99c0734
Vector Packet Processing
fib_path_ext.h File Reference
+ 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 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

u8format_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_tfib_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)
 

Macro Definition Documentation

#define fpe_label_stack   fpe_path.frp_label_stack

Definition at line 40 of file fib_path_ext.h.

Typedef Documentation

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.

Function Documentation

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.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

+ 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 71 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,
const struct fib_entry_t_ entry,
fib_forward_chain_type_t  fct,
load_balance_path_t nhs 
)
u8* format_fib_path_ext ( u8 s,
va_list *  args 
)

Definition at line 28 of file fib_path_ext.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: