24 #include <vpp/app/version.h> 27 #include <cdp/cdp.api_enum.h> 28 #include <cdp/cdp.api_types.h> 30 #define REPLY_MSG_ID_BASE cm->msg_id_base 62 int enable_disable = 1;
93 .short_help =
"cdp enable | disable",
102 vl_api_cdp_enable_disable_reply_t *rmp;
111 #include <cdp/cdp.api.c> 130 .version = VPP_BUILD_VER,
131 .description =
"Cisco Discovery Protocol (CDP)",
u32 cdp_process_node_index
static clib_error_t * cdp_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
#define VLIB_INIT_FUNCTION(x)
#define clib_error_return(e, args...)
static void vl_api_cdp_enable_disable_t_handler(vl_api_cdp_enable_disable_t *mp)
static void vlib_process_signal_event(vlib_main_t *vm, uword node_index, uword type_opaque, uword data)
void vnet_cdp_create_periodic_process(cdp_main_t *cmp)
#define VLIB_CLI_COMMAND(x,...)
static void setup_message_id_table(snat_main_t *sm, api_main_t *am)
int cdp_enable_disable(cdp_main_t *cm, int enable_disable)
static clib_error_t * cdp_init(vlib_main_t *vm)