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

Go to the source code of this file.

Functions

 BVT (clib_bihash)
 The table of adjacencies indexed by the rewrite string. More...
 
static u8lcp_adj_delegate_format (const adj_delegate_t *aed, u8 *s)
 
static void lcp_adj_delegate_adj_deleted (adj_delegate_t *aed)
 
static void lcp_adj_delegate_adj_modified (adj_delegate_t *aed)
 
static void lcp_adj_delegate_adj_created (adj_index_t ai)
 
u8format_lcp_adj_kvp (u8 *s, va_list *args)
 
static clib_error_tlcp_adj_show_cmd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tlcp_adj_init (vlib_main_t *vm)
 

Variables

static adj_delegate_type_t adj_type
 
static lcp_adj_key_tadj_keys
 
static vlib_cli_command_t lcp_itf_pair_show_cmd_node
 (constructor) VLIB_CLI_COMMAND (lcp_itf_pair_show_cmd_node) More...
 
const adj_delegate_vft_t lcp_adj_vft
 

Function Documentation

◆ BVT()

BVT ( clib_bihash  )

The table of adjacencies indexed by the rewrite string.

Definition at line 28 of file lcp_adj.c.

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

◆ format_lcp_adj_kvp()

u8* format_lcp_adj_kvp ( u8 s,
va_list *  args 
)

Definition at line 154 of file lcp_adj.c.

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

◆ lcp_adj_delegate_adj_created()

static void lcp_adj_delegate_adj_created ( adj_index_t  ai)
static

Definition at line 130 of file lcp_adj.c.

+ Here is the call graph for this function:

◆ lcp_adj_delegate_adj_deleted()

static void lcp_adj_delegate_adj_deleted ( adj_delegate_t aed)
static

Definition at line 44 of file lcp_adj.c.

+ Here is the call graph for this function:

◆ lcp_adj_delegate_adj_modified()

static void lcp_adj_delegate_adj_modified ( adj_delegate_t aed)
static

Definition at line 70 of file lcp_adj.c.

+ Here is the call graph for this function:

◆ lcp_adj_delegate_format()

static u8* lcp_adj_delegate_format ( const adj_delegate_t aed,
u8 s 
)
static

Definition at line 38 of file lcp_adj.c.

◆ lcp_adj_init()

static clib_error_t* lcp_adj_init ( vlib_main_t vm)
static

Definition at line 197 of file lcp_adj.c.

+ Here is the call graph for this function:

◆ lcp_adj_show_cmd()

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

Definition at line 168 of file lcp_adj.c.

+ Here is the call graph for this function:

Variable Documentation

◆ adj_keys

lcp_adj_key_t* adj_keys
static

Definition at line 23 of file lcp_adj.c.

◆ adj_type

adj_delegate_type_t adj_type
static

Definition at line 22 of file lcp_adj.c.

◆ lcp_adj_vft

const adj_delegate_vft_t lcp_adj_vft
Initial value:
= {
.adv_format = lcp_adj_delegate_format,
.adv_adj_deleted = lcp_adj_delegate_adj_deleted,
.adv_adj_modified = lcp_adj_delegate_adj_modified,
.adv_adj_created = lcp_adj_delegate_adj_created,
}

Definition at line 189 of file lcp_adj.c.

◆ lcp_itf_pair_show_cmd_node

vlib_cli_command_t lcp_itf_pair_show_cmd_node
static
Initial value:
= {
.path = "show lcp adj",
.function = lcp_adj_show_cmd,
.short_help = "show lcp adj",
.is_mp_safe = 1,
}

(constructor) VLIB_CLI_COMMAND (lcp_itf_pair_show_cmd_node)

Definition at line 182 of file lcp_adj.c.

lcp_adj_delegate_adj_deleted
static void lcp_adj_delegate_adj_deleted(adj_delegate_t *aed)
Definition: lcp_adj.c:44
lcp_adj_delegate_adj_modified
static void lcp_adj_delegate_adj_modified(adj_delegate_t *aed)
Definition: lcp_adj.c:70
lcp_adj_show_cmd
static clib_error_t * lcp_adj_show_cmd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: lcp_adj.c:168
lcp_adj_delegate_adj_created
static void lcp_adj_delegate_adj_created(adj_index_t ai)
Definition: lcp_adj.c:130
lcp_adj_delegate_format
static u8 * lcp_adj_delegate_format(const adj_delegate_t *aed, u8 *s)
Definition: lcp_adj.c:38