FD.io VPP  v18.01-8-g0eacf49
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. More...
 
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
 

Function Documentation

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:

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 109 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.

Definition at line 126 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 274 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 292 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 411 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 335 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 444 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 309 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 391 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 379 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 80 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  child_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:

u8* format_fib_path_ext ( u8 s,
va_list *  args 
)

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:

u8* format_fib_path_ext_list ( u8 s,
va_list *  args 
)

Definition at line 424 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.