|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
26 #include <vpp/app/version.h>
30 #include <adl/adl.api_enum.h>
31 #include <adl/adl.api_types.h>
33 #define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__)
35 #define REPLY_MSG_ID_BASE am->msg_id_base
38 #define foreach_vpe_api_msg \
39 _(ADL_INTERFACE_ENABLE_DISABLE, adl_interface_enable_disable) \
40 _(ADL_LIST_ENABLE_DISABLE, adl_allowlist_enable_disable)
56 vl_api_adl_interface_enable_disable_reply_t *rmp;
69 REPLY_MACRO (VL_API_ADL_INTERFACE_ENABLE_DISABLE_REPLY);
86 vl_api_adl_allowlist_enable_disable_reply_t *rmp;
103 REPLY_MACRO (VL_API_ADL_ALLOWLIST_ENABLE_DISABLE_REPLY);
106 #include <adl/adl.api.c>
#define VALIDATE_SW_IF_INDEX(mp)
vl_api_interface_index_t sw_if_index
static clib_error_t * adl_api_init(vlib_main_t *vm)
int vl_api_cop_interface_enable_disable_callback(u32 sw_if_index, int enable_disable)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
int vl_api_cop_whitelist_enable_disable_callback(adl_allowlist_enable_disable_args_t *a)
static void setup_message_id_table(api_main_t *am)
vl_api_interface_index_t sw_if_index
int adl_allowlist_enable_disable(adl_allowlist_enable_disable_args_t *a)
adl: enable/disable allow list filtration features on an interface Note: the supplied fib_id must mat...
int adl_interface_enable_disable(u32 sw_if_index, int enable_disable)
#define BAD_SW_IF_INDEX_LABEL
static void vl_api_adl_allowlist_enable_disable_t_handler(vl_api_adl_allowlist_enable_disable_t *mp)
#define VLIB_INIT_FUNCTION(x)
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)
adl: enable/disable filtration features on an interface
vl_api_interface_index_t sw_if_index
static void vl_api_adl_interface_enable_disable_t_handler(vl_api_adl_interface_enable_disable_t *mp)