FD.io VPP  v18.07.1-13-g909ba93
Vector Packet Processing
fib_path_ext.c File Reference
+ Include dependency graph for fib_path_ext.c:

Go to the source code of this file.

Functions

u8format_fib_path_ext (u8 *s, va_list *args)
 
int fib_path_ext_cmp (fib_path_ext_t *path_ext, const fib_route_path_t *rpath)
 
static fib_path_list_walk_rc_t fib_path_ext_match (fib_node_index_t pl_index, fib_node_index_t path_index, void *ctx)
 
void fib_path_ext_resolve (fib_path_ext_t *path_ext, fib_node_index_t path_list_index)
 
static void fib_path_ext_init (fib_path_ext_t *path_ext, fib_node_index_t path_list_index, fib_path_ext_type_t ext_type, const fib_route_path_t *rpath)
 
static int fib_path_ext_is_imp_null (fib_path_ext_t *path_ext)
 Return true if the label stack is implicit null imp-null and pop equate to the same this as this level - the label is coming off. More...
 
mpls_label_dpo_flags_t fib_path_ext_mpls_flags_to_mpls_label (fib_path_ext_mpls_flags_t fpe_flags)
 
load_balance_path_tfib_path_ext_stack (fib_path_ext_t *path_ext, fib_forward_chain_type_t child_fct, fib_forward_chain_type_t imp_null_fct, load_balance_path_t *nhs)
 
fib_path_ext_tfib_path_ext_list_find (const fib_path_ext_list_t *list, fib_path_ext_type_t ext_type, const fib_route_path_t *rpath)
 
fib_path_ext_tfib_path_ext_list_find_by_path_index (const fib_path_ext_list_t *list, fib_node_index_t path_index)
 
fib_path_ext_tfib_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)
 
fib_path_ext_tfib_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)
 
void fib_path_ext_list_resolve (fib_path_ext_list_t *list, fib_node_index_t path_list_index)
 
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)
 
void fib_path_ext_list_flush (fib_path_ext_list_t *list)
 
u8format_fib_path_ext_list (u8 *s, va_list *args)
 
int fib_path_ext_list_length (const fib_path_ext_list_t *list)
 

Variables

const char * fib_path_ext_adj_flags_names [] = FIB_PATH_EXT_ADJ_ATTR_NAMES
 
const char * fib_path_ext_mpls_flags_names [] = FIB_PATH_EXT_MPLS_ATTR_NAMES
 

Function Documentation

int fib_path_ext_cmp ( fib_path_ext_t path_ext,
const fib_route_path_t rpath 
)

Definition at line 90 of file fib_path_ext.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void fib_path_ext_init ( fib_path_ext_t path_ext,
fib_node_index_t  path_list_index,
fib_path_ext_type_t  ext_type,
const fib_route_path_t rpath 
)
static

Definition at line 126 of file fib_path_ext.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int fib_path_ext_is_imp_null ( fib_path_ext_t path_ext)
static

Return true if the label stack is implicit null imp-null and pop equate to the same this as this level - the label is coming off.

Definition at line 145 of file fib_path_ext.c.

+ 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 309 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 
)

Definition at line 327 of file fib_path_ext.c.

+ Here is the caller graph for this function:

void fib_path_ext_list_flush ( fib_path_ext_list_t list)

Definition at line 446 of file fib_path_ext.c.

+ Here is the caller graph for this function:

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 370 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)

Definition at line 479 of file fib_path_ext.c.

+ Here is the caller graph for this function:

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 344 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 426 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 414 of file fib_path_ext.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static fib_path_list_walk_rc_t fib_path_ext_match ( fib_node_index_t  pl_index,
fib_node_index_t  path_index,
void *  ctx 
)
static

Definition at line 97 of file fib_path_ext.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

mpls_label_dpo_flags_t fib_path_ext_mpls_flags_to_mpls_label ( fib_path_ext_mpls_flags_t  fpe_flags)

Definition at line 153 of file fib_path_ext.c.

+ 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 113 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  child_fct,
fib_forward_chain_type_t  imp_null_fct,
load_balance_path_t nhs 
)

Definition at line 166 of file fib_path_ext.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_fib_path_ext ( u8 s,
va_list *  args 
)

Definition at line 31 of file fib_path_ext.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_fib_path_ext_list ( u8 s,
va_list *  args 
)

Definition at line 459 of file fib_path_ext.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

const char* fib_path_ext_adj_flags_names[] = FIB_PATH_EXT_ADJ_ATTR_NAMES

Definition at line 27 of file fib_path_ext.c.

const char* fib_path_ext_mpls_flags_names[] = FIB_PATH_EXT_MPLS_ATTR_NAMES

Definition at line 28 of file fib_path_ext.c.