FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | FIB_PATH_LIST_ATTRIBUTES |
#define | FOR_EACH_PATH_LIST_ATTRIBUTE(_item) |
#define | FIB_PATH_LIST_KEY_FLAGS (FIB_PATH_LIST_FLAG_NO_URPF) |
The flags on a path-list that contribute to its key in the DB. More... | |
Typedefs | |
typedef enum fib_path_list_attribute_t_ | fib_path_list_attribute_t |
Enumeration of path-list flags. More... | |
typedef enum fib_path_list_flags_t_ | fib_path_list_flags_t |
typedef enum fib_path_list_fwd_flags_t_ | fib_path_list_fwd_flags_t |
Flags to control how the path-list returns forwarding information. More... | |
typedef fib_path_list_walk_rc_t(* | fib_path_list_walk_fn_t) (fib_node_index_t pl_index, fib_node_index_t path_index, void *ctx) |
A callback function type for walking a path-list's paths. More... | |
typedef fib_path_list_walk_rc_t(* | fib_path_list_walk_w_ext_fn_t) (fib_node_index_t pl_index, fib_node_index_t path_index, const struct fib_path_ext_t_ *ext_list, void *ctx) |
#define FIB_PATH_LIST_ATTRIBUTES |
Definition at line 91 of file fib_path_list.h.
#define FIB_PATH_LIST_KEY_FLAGS (FIB_PATH_LIST_FLAG_NO_URPF) |
The flags on a path-list that contribute to its key in the DB.
So path-lists with these flags different are not conisdered the same.
Definition at line 112 of file fib_path_list.h.
#define FOR_EACH_PATH_LIST_ATTRIBUTE | ( | _item | ) |
Definition at line 102 of file fib_path_list.h.
typedef enum fib_path_list_attribute_t_ fib_path_list_attribute_t |
Enumeration of path-list flags.
typedef enum fib_path_list_flags_t_ fib_path_list_flags_t |
typedef enum fib_path_list_fwd_flags_t_ fib_path_list_fwd_flags_t |
Flags to control how the path-list returns forwarding information.
typedef fib_path_list_walk_rc_t(* fib_path_list_walk_fn_t) (fib_node_index_t pl_index, fib_node_index_t path_index, void *ctx) |
A callback function type for walking a path-list's paths.
Definition at line 184 of file fib_path_list.h.
typedef fib_path_list_walk_rc_t(* fib_path_list_walk_w_ext_fn_t) (fib_node_index_t pl_index, fib_node_index_t path_index, const struct fib_path_ext_t_ *ext_list, void *ctx) |
Definition at line 193 of file fib_path_list.h.
Enumeration of path-list flags.
Definition at line 28 of file fib_path_list.h.
Definition at line 79 of file fib_path_list.h.
Flags to control how the path-list returns forwarding information.
Enumerator | |
---|---|
FIB_PATH_LIST_FWD_FLAG_NONE | |
FIB_PATH_LIST_FWD_FLAG_COLLAPSE | |
FIB_PATH_LIST_FWD_FLAG_STICKY |
Definition at line 140 of file fib_path_list.h.
void fib_path_list_back_walk | ( | fib_node_index_t | pl_index, |
fib_node_back_walk_ctx_t * | ctx | ||
) |
Definition at line 467 of file fib_path_list.c.
u32 fib_path_list_child_add | ( | fib_node_index_t | pl_index, |
fib_node_type_t | type, | ||
fib_node_index_t | child_index | ||
) |
Definition at line 1246 of file fib_path_list.c.
void fib_path_list_child_remove | ( | fib_node_index_t | pl_index, |
fib_node_index_t | sibling_index | ||
) |
Definition at line 1285 of file fib_path_list.c.
void fib_path_list_contribute_forwarding | ( | fib_node_index_t | path_list_index, |
fib_forward_chain_type_t | type, | ||
fib_path_list_fwd_flags_t | flags, | ||
dpo_id_t * | dpo | ||
) |
Definition at line 1161 of file fib_path_list.c.
void fib_path_list_contribute_urpf | ( | fib_node_index_t | path_list_index, |
index_t | urpf | ||
) |
Contribute (add) this path list's uRPF list.
This allows the child to construct an aggregate list.
Definition at line 437 of file fib_path_list.c.
fib_node_index_t fib_path_list_copy_and_path_add | ( | fib_node_index_t | pl_index, |
fib_path_list_flags_t | flags, | ||
const fib_route_path_t * | path | ||
) |
Definition at line 882 of file fib_path_list.c.
fib_node_index_t fib_path_list_copy_and_path_remove | ( | fib_node_index_t | pl_index, |
fib_path_list_flags_t | flags, | ||
const fib_route_path_t * | path | ||
) |
Definition at line 1035 of file fib_path_list.c.
fib_node_index_t fib_path_list_create | ( | fib_path_list_flags_t | flags, |
const fib_route_path_t * | paths | ||
) |
Definition at line 684 of file fib_path_list.c.
fib_node_index_t fib_path_list_create_special | ( | dpo_proto_t | nh_proto, |
fib_path_list_flags_t | flags, | ||
const dpo_id_t * | dpo | ||
) |
Definition at line 776 of file fib_path_list.c.
u32 fib_path_list_db_size | ( | void | ) |
u32 fib_path_list_find_rpath | ( | fib_node_index_t | path_list_index, |
const fib_route_path_t * | rpath | ||
) |
u8* fib_path_list_format | ( | fib_node_index_t | pl_index, |
u8 * | s | ||
) |
Definition at line 169 of file fib_path_list.c.
index_t fib_path_list_get_adj | ( | fib_node_index_t | path_list_index, |
fib_forward_chain_type_t | type | ||
) |
Definition at line 1192 of file fib_path_list.c.
u32 fib_path_list_get_n_paths | ( | fib_node_index_t | pl_index | ) |
Definition at line 597 of file fib_path_list.c.
dpo_proto_t fib_path_list_get_proto | ( | fib_node_index_t | path_list_index | ) |
u32 fib_path_list_get_resolving_interface | ( | fib_node_index_t | path_list_index | ) |
Definition at line 613 of file fib_path_list.c.
index_t fib_path_list_get_urpf | ( | fib_node_index_t | path_list_index | ) |
Return the the child the RPF list pre-built for this path list.
Definition at line 451 of file fib_path_list.c.
int fib_path_list_is_looped | ( | fib_node_index_t | path_list_index | ) |
Definition at line 649 of file fib_path_list.c.
int fib_path_list_is_popular | ( | fib_node_index_t | path_list_index | ) |
Definition at line 659 of file fib_path_list.c.
index_t fib_path_list_lb_map_add_or_lock | ( | fib_node_index_t | pl_index, |
const fib_node_index_t * | pis | ||
) |
void fib_path_list_lock | ( | fib_node_index_t | pl_index | ) |
Definition at line 1294 of file fib_path_list.c.
void fib_path_list_module_init | ( | void | ) |
Definition at line 1375 of file fib_path_list.c.
fib_node_index_t fib_path_list_path_add | ( | fib_node_index_t | path_list_index, |
const fib_route_path_t * | rpaths | ||
) |
Definition at line 833 of file fib_path_list.c.
fib_node_index_t fib_path_list_path_remove | ( | fib_node_index_t | path_list_index, |
const fib_route_path_t * | rpaths | ||
) |
Definition at line 983 of file fib_path_list.c.
u32 fib_path_list_pool_size | ( | void | ) |
int fib_path_list_recursive_loop_detect | ( | fib_node_index_t | path_list_index, |
fib_node_index_t ** | entry_indicies | ||
) |
Definition at line 1202 of file fib_path_list.c.
void fib_path_list_unlock | ( | fib_node_index_t | pl_index | ) |
Definition at line 1307 of file fib_path_list.c.
void fib_path_list_walk | ( | fib_node_index_t | pl_index, |
fib_path_list_walk_fn_t | func, | ||
void * | ctx | ||
) |
Definition at line 1332 of file fib_path_list.c.
void fib_path_list_walk_w_ext | ( | fib_node_index_t | pl_index, |
const fib_path_ext_list_t * | ext_list, | ||
fib_path_list_walk_w_ext_fn_t | func, | ||
void * | ctx | ||
) |
Definition at line 1351 of file fib_path_list.c.
Definition at line 129 of file fib_path_list.c.