FD.io VPP  v21.10.1-2-g0a485f517
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 30 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 166 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 132 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 46 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 72 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 40 of file lcp_adj.c.

◆ lcp_adj_init()

static clib_error_t* lcp_adj_init ( vlib_main_t vm)
static

Definition at line 209 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 180 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 25 of file lcp_adj.c.

◆ adj_type

adj_delegate_type_t adj_type
static

Definition at line 24 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 201 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 194 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:46
lcp_adj_delegate_adj_modified
static void lcp_adj_delegate_adj_modified(adj_delegate_t *aed)
Definition: lcp_adj.c:72
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:180
lcp_adj_delegate_adj_created
static void lcp_adj_delegate_adj_created(adj_index_t ai)
Definition: lcp_adj.c:132
lcp_adj_delegate_format
static u8 * lcp_adj_delegate_format(const adj_delegate_t *aed, u8 *s)
Definition: lcp_adj.c:40