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

Go to the source code of this file.

Functions

static clib_error_tadl_sw_interface_add_del (vnet_main_t *vnm, u32 sw_if_index, u32 is_add)
 
 VNET_SW_INTERFACE_ADD_DEL_FUNCTION (adl_sw_interface_add_del)
 
static clib_error_tadl_init (vlib_main_t *vm)
 
 VNET_FEATURE_INIT (adl, static)
 
int adl_interface_enable_disable (u32 sw_if_index, int enable_disable)
 
static clib_error_tadl_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
int adl_allowlist_enable_disable (adl_allowlist_enable_disable_args_t *a)
 
static clib_error_tadl_allowlist_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

adl_main_t adl_main
 
static vlib_cli_command_t adl_interface_command
 (constructor) VLIB_CLI_COMMAND (adl_interface_command) More...
 
static vlib_cli_command_t adl_allowlist_command
 (constructor) VLIB_CLI_COMMAND (adl_allowlist_command) More...
 

Function Documentation

◆ adl_allowlist_enable_disable()

int adl_allowlist_enable_disable ( adl_allowlist_enable_disable_args_t a)

Definition at line 233 of file adl.c.

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

◆ adl_allowlist_enable_disable_command_fn()

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

Definition at line 326 of file adl.c.

+ Here is the call graph for this function:

◆ adl_enable_disable_command_fn()

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

Definition at line 180 of file adl.c.

+ Here is the call graph for this function:

◆ adl_init()

static clib_error_t* adl_init ( vlib_main_t vm)
static

Definition at line 138 of file adl.c.

+ Here is the call graph for this function:

◆ adl_interface_enable_disable()

int adl_interface_enable_disable ( u32  sw_if_index,
int  enable_disable 
)

Definition at line 169 of file adl.c.

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

◆ adl_sw_interface_add_del()

static clib_error_t* adl_sw_interface_add_del ( vnet_main_t vnm,
u32  sw_if_index,
u32  is_add 
)
static

Definition at line 23 of file adl.c.

+ Here is the call graph for this function:

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )

◆ VNET_FEATURE_INIT()

VNET_FEATURE_INIT ( adl  ,
static   
)

◆ VNET_SW_INTERFACE_ADD_DEL_FUNCTION()

VNET_SW_INTERFACE_ADD_DEL_FUNCTION ( adl_sw_interface_add_del  )

Variable Documentation

◆ adl_allowlist_command

vlib_cli_command_t adl_allowlist_command
static
Initial value:
=
{
.path = "adl allowlist",
.short_help =
"adl allowlist <interface-name> [ip4][ip6][default][fib-id <NN>][disable]",
}

(constructor) VLIB_CLI_COMMAND (adl_allowlist_command)

Definition at line 393 of file adl.c.

◆ adl_interface_command

vlib_cli_command_t adl_interface_command
static
Initial value:
= {
.path = "adl interface",
.short_help =
"adl interface <interface-name> [disable]",
}

(constructor) VLIB_CLI_COMMAND (adl_interface_command)

Definition at line 225 of file adl.c.

◆ adl_main

adl_main_t adl_main

Definition at line 20 of file adl.c.

adl_allowlist_enable_disable_command_fn
static clib_error_t * adl_allowlist_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: adl.c:326
adl_enable_disable_command_fn
static clib_error_t * adl_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: adl.c:180