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

Go to the source code of this file.

Macros

#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define REPLY_MSG_ID_BASE   am->msg_id_base
 
#define foreach_vpe_api_msg
 

Functions

int vl_api_cop_interface_enable_disable_callback (u32 sw_if_index, int enable_disable)
 
static void vl_api_adl_interface_enable_disable_t_handler (vl_api_adl_interface_enable_disable_t *mp)
 
int vl_api_cop_whitelist_enable_disable_callback (adl_allowlist_enable_disable_args_t *a)
 
static void vl_api_adl_allowlist_enable_disable_t_handler (vl_api_adl_allowlist_enable_disable_t *mp)
 
static clib_error_tadl_api_init (vlib_main_t *vm)
 

Macro Definition Documentation

◆ foreach_vpe_api_msg

#define foreach_vpe_api_msg
Value:
_(ADL_INTERFACE_ENABLE_DISABLE, adl_interface_enable_disable) \
_(ADL_LIST_ENABLE_DISABLE, adl_allowlist_enable_disable)

Definition at line 38 of file adl_api.c.

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   am->msg_id_base

Definition at line 35 of file adl_api.c.

◆ vl_print

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 33 of file adl_api.c.

Function Documentation

◆ adl_api_init()

static clib_error_t* adl_api_init ( vlib_main_t vm)
static

Definition at line 108 of file adl_api.c.

+ Here is the call graph for this function:

◆ vl_api_adl_allowlist_enable_disable_t_handler()

static void vl_api_adl_allowlist_enable_disable_t_handler ( vl_api_adl_allowlist_enable_disable_t mp)
static

Definition at line 83 of file adl_api.c.

+ Here is the call graph for this function:

◆ vl_api_adl_interface_enable_disable_t_handler()

static void vl_api_adl_interface_enable_disable_t_handler ( vl_api_adl_interface_enable_disable_t mp)
static

Definition at line 53 of file adl_api.c.

+ Here is the call graph for this function:

◆ vl_api_cop_interface_enable_disable_callback()

int vl_api_cop_interface_enable_disable_callback ( u32  sw_if_index,
int  enable_disable 
)

Definition at line 47 of file adl_api.c.

+ Here is the call graph for this function:

◆ vl_api_cop_whitelist_enable_disable_callback()

int vl_api_cop_whitelist_enable_disable_callback ( adl_allowlist_enable_disable_args_t a)

Definition at line 77 of file adl_api.c.

+ Here is the call graph for this function:
adl_allowlist_enable_disable
int adl_allowlist_enable_disable(adl_allowlist_enable_disable_args_t *a)
Definition: adl.c:233
adl_interface_enable_disable
int adl_interface_enable_disable(u32 sw_if_index, int enable_disable)
Definition: adl.c:169