FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
fib_entry.c File Reference
+ Include dependency graph for fib_entry.c:

Go to the source code of this file.

Functions

fib_entry_tfib_entry_get (fib_node_index_t index)
 
static fib_node_tfib_entry_get_node (fib_node_index_t index)
 
fib_node_index_t fib_entry_get_index (const fib_entry_t *fib_entry)
 
fib_protocol_t fib_entry_get_proto (const fib_entry_t *fib_entry)
 
dpo_proto_t fib_entry_get_dpo_proto (const fib_entry_t *fib_entry)
 
fib_forward_chain_type_t fib_entry_get_default_chain_type (const fib_entry_t *fib_entry)
 
u8format_fib_entry_flags (u8 *s, va_list *args)
 
u8format_fib_entry_src_flags (u8 *s, va_list *args)
 
u8format_fib_entry (u8 *s, va_list *args)
 
static fib_entry_tfib_entry_from_fib_node (fib_node_t *node)
 
static void fib_entry_last_lock_gone (fib_node_t *node)
 
static fib_entry_src_tfib_entry_get_best_src_i (const fib_entry_t *fib_entry)
 
static fib_source_t fib_entry_src_get_source (const fib_entry_src_t *esrc)
 
static fib_entry_flag_t fib_entry_src_get_flags (const fib_entry_src_t *esrc)
 
fib_entry_flag_t fib_entry_get_flags (fib_node_index_t fib_entry_index)
 
static fib_node_back_walk_rc_t fib_entry_back_walk_notify (fib_node_t *node, fib_node_back_walk_ctx_t *ctx)
 
static void fib_entry_show_memory (void)
 
void fib_entry_contribute_urpf (fib_node_index_t entry_index, index_t urpf)
 Contribute the set of Adjacencies that this entry forwards with to build the uRPF list of its children. More...
 
static fib_forward_chain_type_t fib_entry_chain_type_mcast_to_ucast (fib_forward_chain_type_t fct)
 
void fib_entry_contribute_forwarding (fib_node_index_t fib_entry_index, fib_forward_chain_type_t fct, dpo_id_t *dpo)
 
const dpo_id_tfib_entry_contribute_ip_forwarding (fib_node_index_t fib_entry_index)
 
adj_index_t fib_entry_get_adj (fib_node_index_t fib_entry_index)
 
fib_node_index_t fib_entry_get_path_list (fib_node_index_t fib_entry_index)
 
u32 fib_entry_child_add (fib_node_index_t fib_entry_index, fib_node_type_t child_type, fib_node_index_t child_index)
 
void fib_entry_child_remove (fib_node_index_t fib_entry_index, u32 sibling_index)
 
static fib_entry_tfib_entry_alloc (u32 fib_index, const fib_prefix_t *prefix, fib_node_index_t *fib_entry_index)
 
static fib_entry_tfib_entry_post_flag_update_actions (fib_entry_t *fib_entry, fib_entry_flag_t old_flags)
 
static fib_entry_tfib_entry_post_install_actions (fib_entry_t *fib_entry, fib_source_t source, fib_entry_flag_t old_flags)
 
fib_node_index_t fib_entry_create (u32 fib_index, const fib_prefix_t *prefix, fib_source_t source, fib_entry_flag_t flags, const fib_route_path_t *paths)
 
fib_node_index_t fib_entry_create_special (u32 fib_index, const fib_prefix_t *prefix, fib_source_t source, fib_entry_flag_t flags, const dpo_id_t *dpo)
 
static void fib_entry_post_update_actions (fib_entry_t *fib_entry, fib_source_t source, fib_entry_flag_t old_flags)
 
void fib_entry_recalculate_forwarding (fib_node_index_t fib_entry_index)
 
static void fib_entry_source_change_w_flags (fib_entry_t *fib_entry, fib_source_t old_source, fib_entry_flag_t old_flags, fib_source_t new_source)
 
void fib_entry_source_change (fib_entry_t *fib_entry, fib_source_t old_source, fib_source_t new_source)
 
void fib_entry_special_add (fib_node_index_t fib_entry_index, fib_source_t source, fib_entry_flag_t flags, const dpo_id_t *dpo)
 
void fib_entry_special_update (fib_node_index_t fib_entry_index, fib_source_t source, fib_entry_flag_t flags, const dpo_id_t *dpo)
 
void fib_entry_path_add (fib_node_index_t fib_entry_index, fib_source_t source, fib_entry_flag_t flags, const fib_route_path_t *rpaths)
 
static fib_entry_src_flag_t fib_entry_src_burn_only_inherited (fib_entry_t *fib_entry)
 
static fib_entry_src_flag_t fib_entry_source_removed (fib_entry_t *fib_entry, fib_entry_flag_t old_flags)
 
fib_entry_src_flag_t fib_entry_path_remove (fib_node_index_t fib_entry_index, fib_source_t source, const fib_route_path_t *rpaths)
 
fib_entry_src_flag_t fib_entry_special_remove (fib_node_index_t fib_entry_index, fib_source_t source)
 
void fib_entry_inherit (fib_node_index_t cover, fib_node_index_t covered)
 fib_entry_inherit More...
 
fib_entry_src_flag_t fib_entry_delete (fib_node_index_t fib_entry_index, fib_source_t source)
 fib_entry_delete More...
 
void fib_entry_update (fib_node_index_t fib_entry_index, fib_source_t source, fib_entry_flag_t flags, const fib_route_path_t *paths)
 fib_entry_update More...
 
void fib_entry_cover_changed (fib_node_index_t fib_entry_index)
 
void fib_entry_cover_updated (fib_node_index_t fib_entry_index)
 
int fib_entry_recursive_loop_detect (fib_node_index_t entry_index, fib_node_index_t **entry_indicies)
 
u32 fib_entry_get_resolving_interface (fib_node_index_t entry_index)
 
u32 fib_entry_get_any_resolving_interface (fib_node_index_t entry_index)
 
fib_source_t fib_entry_get_best_source (fib_node_index_t entry_index)
 
int fib_entry_is_host (fib_node_index_t fib_entry_index)
 Return !0 is the entry represents a host prefix. More...
 
int fib_entry_is_resolved (fib_node_index_t fib_entry_index)
 Return !0 is the entry is resolved, i.e. More...
 
void fib_entry_set_flow_hash_config (fib_node_index_t fib_entry_index, flow_hash_config_t hash_config)
 
u32 fib_entry_get_stats_index (fib_node_index_t fib_entry_index)
 
static int fib_ip4_address_compare (const ip4_address_t *a1, const ip4_address_t *a2)
 
static int fib_ip6_address_compare (const ip6_address_t *a1, const ip6_address_t *a2)
 
static int fib_entry_cmp (fib_node_index_t fib_entry_index1, fib_node_index_t fib_entry_index2)
 
int fib_entry_cmp_for_sort (void *i1, void *i2)
 
void fib_entry_lock (fib_node_index_t fib_entry_index)
 
void fib_entry_unlock (fib_node_index_t fib_entry_index)
 
void fib_entry_module_init (void)
 
fib_route_path_tfib_entry_encode (fib_node_index_t fib_entry_index)
 
const fib_prefix_tfib_entry_get_prefix (fib_node_index_t fib_entry_index)
 
u32 fib_entry_get_fib_index (fib_node_index_t fib_entry_index)
 
u32 fib_entry_pool_size (void)
 
void fib_table_assert_empty (const fib_table_t *fib_table)
 Debug function. More...
 
static clib_error_tshow_fib_entry_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static const char * fib_attribute_names [] = FIB_ENTRY_ATTRIBUTES
 
static const char * fib_src_attribute_names [] = FIB_ENTRY_SRC_ATTRIBUTES
 
static fib_entry_tfib_entry_pool
 
vlib_log_class_t fib_entry_logger
 the logger More...
 
static const fib_node_vft_t fib_entry_vft
 
static vlib_cli_command_t show_fib_entry
 (constructor) VLIB_CLI_COMMAND (show_fib_entry) More...
 

Function Documentation

◆ fib_entry_alloc()

static fib_entry_t* fib_entry_alloc ( u32  fib_index,
const fib_prefix_t prefix,
fib_node_index_t fib_entry_index 
)
static

Definition at line 596 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_back_walk_notify()

static fib_node_back_walk_rc_t fib_entry_back_walk_notify ( fib_node_t node,
fib_node_back_walk_ctx_t ctx 
)
static

Definition at line 302 of file fib_entry.c.

+ Here is the call graph for this function:

◆ fib_entry_chain_type_mcast_to_ucast()

static fib_forward_chain_type_t fib_entry_chain_type_mcast_to_ucast ( fib_forward_chain_type_t  fct)
static

Definition at line 406 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ fib_entry_child_add()

u32 fib_entry_child_add ( fib_node_index_t  fib_entry_index,
fib_node_type_t  child_type,
fib_node_index_t  child_index 
)

Definition at line 555 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_child_remove()

void fib_entry_child_remove ( fib_node_index_t  fib_entry_index,
u32  sibling_index 
)

Definition at line 566 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_cmp()

static int fib_entry_cmp ( fib_node_index_t  fib_entry_index1,
fib_node_index_t  fib_entry_index2 
)
static

Definition at line 1624 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_cmp_for_sort()

int fib_entry_cmp_for_sort ( void *  i1,
void *  i2 
)

Definition at line 1660 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_contribute_forwarding()

void fib_entry_contribute_forwarding ( fib_node_index_t  fib_entry_index,
fib_forward_chain_type_t  fct,
dpo_id_t dpo 
)

Definition at line 437 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_contribute_ip_forwarding()

const dpo_id_t* fib_entry_contribute_ip_forwarding ( fib_node_index_t  fib_entry_index)

Definition at line 506 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_contribute_urpf()

void fib_entry_contribute_urpf ( fib_node_index_t  entry_index,
index_t  urpf 
)

Contribute the set of Adjacencies that this entry forwards with to build the uRPF list of its children.

Definition at line 391 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_cover_changed()

void fib_entry_cover_changed ( fib_node_index_t  fib_entry_index)

Definition at line 1261 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_cover_updated()

void fib_entry_cover_updated ( fib_node_index_t  fib_entry_index)

Definition at line 1337 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_create()

fib_node_index_t fib_entry_create ( u32  fib_index,
const fib_prefix_t prefix,
fib_source_t  source,
fib_entry_flag_t  flags,
const fib_route_path_t paths 
)

Definition at line 717 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_create_special()

fib_node_index_t fib_entry_create_special ( u32  fib_index,
const fib_prefix_t prefix,
fib_source_t  source,
fib_entry_flag_t  flags,
const dpo_id_t dpo 
)

Definition at line 757 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_delete()

fib_entry_src_flag_t fib_entry_delete ( fib_node_index_t  fib_entry_index,
fib_source_t  source 
)

fib_entry_delete

The source is withdrawing all the paths it provided

Definition at line 1216 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_encode()

fib_route_path_t* fib_entry_encode ( fib_node_index_t  fib_entry_index)

Definition at line 1698 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_from_fib_node()

static fib_entry_t* fib_entry_from_fib_node ( fib_node_t node)
static

Definition at line 217 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ fib_entry_get()

fib_entry_t* fib_entry_get ( fib_node_index_t  index)

Definition at line 51 of file fib_entry.c.

◆ fib_entry_get_adj()

adj_index_t fib_entry_get_adj ( fib_node_index_t  fib_entry_index)

Definition at line 526 of file fib_entry.c.

+ Here is the call graph for this function:

◆ fib_entry_get_any_resolving_interface()

u32 fib_entry_get_any_resolving_interface ( fib_node_index_t  entry_index)

Definition at line 1484 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_get_best_source()

fib_source_t fib_entry_get_best_source ( fib_node_index_t  entry_index)

Definition at line 1505 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_get_best_src_i()

static fib_entry_src_t* fib_entry_get_best_src_i ( const fib_entry_t fib_entry)
static

Definition at line 251 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ fib_entry_get_default_chain_type()

fib_forward_chain_type_t fib_entry_get_default_chain_type ( const fib_entry_t fib_entry)

Definition at line 81 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ fib_entry_get_dpo_proto()

dpo_proto_t fib_entry_get_dpo_proto ( const fib_entry_t fib_entry)

Definition at line 75 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_get_fib_index()

u32 fib_entry_get_fib_index ( fib_node_index_t  fib_entry_index)

Definition at line 1738 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_get_flags()

fib_entry_flag_t fib_entry_get_flags ( fib_node_index_t  fib_entry_index)

Definition at line 291 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_get_index()

fib_node_index_t fib_entry_get_index ( const fib_entry_t fib_entry)

Definition at line 63 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ fib_entry_get_node()

static fib_node_t* fib_entry_get_node ( fib_node_index_t  index)
static

Definition at line 57 of file fib_entry.c.

+ Here is the call graph for this function:

◆ fib_entry_get_path_list()

fib_node_index_t fib_entry_get_path_list ( fib_node_index_t  fib_entry_index)

Definition at line 545 of file fib_entry.c.

+ Here is the call graph for this function:

◆ fib_entry_get_prefix()

const fib_prefix_t* fib_entry_get_prefix ( fib_node_index_t  fib_entry_index)

Definition at line 1728 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_get_proto()

fib_protocol_t fib_entry_get_proto ( const fib_entry_t fib_entry)

Definition at line 69 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ fib_entry_get_resolving_interface()

u32 fib_entry_get_resolving_interface ( fib_node_index_t  entry_index)

Definition at line 1474 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_get_stats_index()

u32 fib_entry_get_stats_index ( fib_node_index_t  fib_entry_index)

Definition at line 1585 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_inherit()

void fib_entry_inherit ( fib_node_index_t  cover,
fib_node_index_t  covered 
)

fib_entry_inherit

If the source on the cover is inheriting then push this source down to the covered.

Definition at line 1203 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_is_host()

int fib_entry_is_host ( fib_node_index_t  fib_entry_index)

Return !0 is the entry represents a host prefix.

Definition at line 1520 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_is_resolved()

int fib_entry_is_resolved ( fib_node_index_t  fib_entry_index)

Return !0 is the entry is resolved, i.e.

will return a valid forwarding chain

Definition at line 1530 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_last_lock_gone()

static void fib_entry_last_lock_gone ( fib_node_t node)
static

Definition at line 224 of file fib_entry.c.

+ Here is the call graph for this function:

◆ fib_entry_lock()

void fib_entry_lock ( fib_node_index_t  fib_entry_index)

Definition at line 1669 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_module_init()

void fib_entry_module_init ( void  )

Definition at line 1689 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_path_add()

void fib_entry_path_add ( fib_node_index_t  fib_entry_index,
fib_source_t  source,
fib_entry_flag_t  flags,
const fib_route_path_t rpaths 
)

Definition at line 911 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_path_remove()

fib_entry_src_flag_t fib_entry_path_remove ( fib_node_index_t  fib_entry_index,
fib_source_t  source,
const fib_route_path_t rpaths 
)

Definition at line 1007 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_pool_size()

u32 fib_entry_pool_size ( void  )

Definition at line 1748 of file fib_entry.c.

+ Here is the call graph for this function:

◆ fib_entry_post_flag_update_actions()

static fib_entry_t* fib_entry_post_flag_update_actions ( fib_entry_t fib_entry,
fib_entry_flag_t  old_flags 
)
static

Definition at line 636 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_post_install_actions()

static fib_entry_t* fib_entry_post_install_actions ( fib_entry_t fib_entry,
fib_source_t  source,
fib_entry_flag_t  old_flags 
)
static

Definition at line 705 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_post_update_actions()

static void fib_entry_post_update_actions ( fib_entry_t fib_entry,
fib_source_t  source,
fib_entry_flag_t  old_flags 
)
static

Definition at line 786 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_recalculate_forwarding()

void fib_entry_recalculate_forwarding ( fib_node_index_t  fib_entry_index)

Definition at line 808 of file fib_entry.c.

+ Here is the call graph for this function:

◆ fib_entry_recursive_loop_detect()

int fib_entry_recursive_loop_detect ( fib_node_index_t  entry_index,
fib_node_index_t **  entry_indicies 
)

Definition at line 1423 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_set_flow_hash_config()

void fib_entry_set_flow_hash_config ( fib_node_index_t  fib_entry_index,
flow_hash_config_t  hash_config 
)

Definition at line 1556 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_show_memory()

static void fib_entry_show_memory ( void  )
static

Definition at line 349 of file fib_entry.c.

+ Here is the call graph for this function:

◆ fib_entry_source_change()

void fib_entry_source_change ( fib_entry_t fib_entry,
fib_source_t  old_source,
fib_source_t  new_source 
)

Definition at line 861 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_source_change_w_flags()

static void fib_entry_source_change_w_flags ( fib_entry_t fib_entry,
fib_source_t  old_source,
fib_entry_flag_t  old_flags,
fib_source_t  new_source 
)
static

Definition at line 823 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_source_removed()

static fib_entry_src_flag_t fib_entry_source_removed ( fib_entry_t fib_entry,
fib_entry_flag_t  old_flags 
)
static

Definition at line 963 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_special_add()

void fib_entry_special_add ( fib_node_index_t  fib_entry_index,
fib_source_t  source,
fib_entry_flag_t  flags,
const dpo_id_t dpo 
)

Definition at line 875 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_special_remove()

fib_entry_src_flag_t fib_entry_special_remove ( fib_node_index_t  fib_entry_index,
fib_source_t  source 
)

Definition at line 1099 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_special_update()

void fib_entry_special_update ( fib_node_index_t  fib_entry_index,
fib_source_t  source,
fib_entry_flag_t  flags,
const dpo_id_t dpo 
)

Definition at line 892 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_src_burn_only_inherited()

static fib_entry_src_flag_t fib_entry_src_burn_only_inherited ( fib_entry_t fib_entry)
static

Definition at line 934 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_src_get_flags()

static fib_entry_flag_t fib_entry_src_get_flags ( const fib_entry_src_t esrc)
static

Definition at line 281 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ fib_entry_src_get_source()

static fib_source_t fib_entry_src_get_source ( const fib_entry_src_t esrc)
static

Definition at line 271 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ fib_entry_unlock()

void fib_entry_unlock ( fib_node_index_t  fib_entry_index)

Definition at line 1679 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_entry_update()

void fib_entry_update ( fib_node_index_t  fib_entry_index,
fib_source_t  source,
fib_entry_flag_t  flags,
const fib_route_path_t paths 
)

fib_entry_update

The source has provided a new set of paths that will replace the old.

Definition at line 1228 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fib_ip4_address_compare()

static int fib_ip4_address_compare ( const ip4_address_t a1,
const ip4_address_t a2 
)
static

Definition at line 1595 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ fib_ip6_address_compare()

static int fib_ip6_address_compare ( const ip6_address_t *  a1,
const ip6_address_t *  a2 
)
static

Definition at line 1609 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ fib_table_assert_empty()

void fib_table_assert_empty ( const fib_table_t fib_table)

Debug function.

Definition at line 1755 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_fib_entry()

u8* format_fib_entry ( u8 s,
va_list *  args 
)

Definition at line 130 of file fib_entry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_fib_entry_flags()

u8* format_fib_entry_flags ( u8 s,
va_list *  args 
)

Definition at line 100 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ format_fib_entry_src_flags()

u8* format_fib_entry_src_flags ( u8 s,
va_list *  args 
)

Definition at line 115 of file fib_entry.c.

+ Here is the caller graph for this function:

◆ show_fib_entry_command()

static clib_error_t* show_fib_entry_command ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 1777 of file fib_entry.c.

+ Here is the call graph for this function:

Variable Documentation

◆ fib_attribute_names

const char* fib_attribute_names[] = FIB_ENTRY_ATTRIBUTES
static

Definition at line 37 of file fib_entry.c.

◆ fib_entry_logger

vlib_log_class_t fib_entry_logger

the logger

Debug macro.

Definition at line 48 of file fib_entry.c.

◆ fib_entry_pool

fib_entry_t* fib_entry_pool
static

Definition at line 43 of file fib_entry.c.

◆ fib_entry_vft

const fib_node_vft_t fib_entry_vft
static
Initial value:
= {
.fnv_get = fib_entry_get_node,
.fnv_last_lock = fib_entry_last_lock_gone,
.fnv_back_walk = fib_entry_back_walk_notify,
.fnv_mem_show = fib_entry_show_memory,
}

Definition at line 379 of file fib_entry.c.

◆ fib_src_attribute_names

const char* fib_src_attribute_names[] = FIB_ENTRY_SRC_ATTRIBUTES
static

Definition at line 38 of file fib_entry.c.

◆ show_fib_entry

vlib_cli_command_t show_fib_entry
static
Initial value:
= {
.path = "show fib entry",
.short_help = "show fib entry",
}

(constructor) VLIB_CLI_COMMAND (show_fib_entry)

Definition at line 1818 of file fib_entry.c.

show_fib_entry_command
static clib_error_t * show_fib_entry_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: fib_entry.c:1777
fib_entry_back_walk_notify
static fib_node_back_walk_rc_t fib_entry_back_walk_notify(fib_node_t *node, fib_node_back_walk_ctx_t *ctx)
Definition: fib_entry.c:302
fib_entry_last_lock_gone
static void fib_entry_last_lock_gone(fib_node_t *node)
Definition: fib_entry.c:224
fib_entry_get_node
static fib_node_t * fib_entry_get_node(fib_node_index_t index)
Definition: fib_entry.c:57
fib_entry_show_memory
static void fib_entry_show_memory(void)
Definition: fib_entry.c:349