FD.io VPP  v18.01-8-g0eacf49
Vector Packet Processing
cop.c File Reference
+ Include dependency graph for cop.c:

Go to the source code of this file.

Functions

static clib_error_tcop_sw_interface_add_del (vnet_main_t *vnm, u32 sw_if_index, u32 is_add)
 
 VNET_SW_INTERFACE_ADD_DEL_FUNCTION (cop_sw_interface_add_del)
 
static clib_error_tcop_init (vlib_main_t *vm)
 
int cop_interface_enable_disable (u32 sw_if_index, int enable_disable)
 
static clib_error_tcop_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
int cop_whitelist_enable_disable (cop_whitelist_enable_disable_args_t *a)
 
static clib_error_tcop_whitelist_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

cop_main_t cop_main
 
static vlib_cli_command_t cop_interface_command
 (constructor) VLIB_CLI_COMMAND (cop_interface_command) More...
 
static vlib_cli_command_t cop_whitelist_command
 (constructor) VLIB_CLI_COMMAND (cop_whitelist_command) More...
 

Function Documentation

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

Definition at line 176 of file cop.c.

+ Here is the call graph for this function:

static clib_error_t* cop_init ( vlib_main_t vm)
static

Definition at line 132 of file cop.c.

+ Here is the call graph for this function:

int cop_interface_enable_disable ( u32  sw_if_index,
int  enable_disable 
)

Definition at line 151 of file cop.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 20 of file cop.c.

+ Here is the call graph for this function:

int cop_whitelist_enable_disable ( cop_whitelist_enable_disable_args_t a)

Definition at line 229 of file cop.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 315 of file cop.c.

+ Here is the call graph for this function:

VNET_SW_INTERFACE_ADD_DEL_FUNCTION ( cop_sw_interface_add_del  )

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t cop_interface_command
static
Initial value:
= {
.path = "cop interface",
.short_help =
"cop interface <interface-name> [disable]",
}
static clib_error_t * cop_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cop.c:176

(constructor) VLIB_CLI_COMMAND (cop_interface_command)

Definition at line 221 of file cop.c.

cop_main_t cop_main

Definition at line 17 of file cop.c.

vlib_cli_command_t cop_whitelist_command
static
Initial value:
= {
.path = "cop whitelist",
.short_help =
"cop whitelist <interface-name> [ip4][ip6][default][fib-id <NN>][disable]",
}
static clib_error_t * cop_whitelist_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cop.c:315

(constructor) VLIB_CLI_COMMAND (cop_whitelist_command)

Definition at line 381 of file cop.c.