27 #include <dhcp/dhcp6_ia_na_client_cp.api_enum.h> 28 #include <dhcp/dhcp6_ia_na_client_cp.api_types.h> 34 #define REPLY_MSG_ID_BASE dhcp_base_msg_id 42 vl_api_dhcp6_client_enable_disable_reply_t *rmp;
54 REPLY_MACRO (VL_API_DHCP6_CLIENT_ENABLE_DISABLE_REPLY);
57 #define vl_msg_name_crc_list 58 #include <dhcp/dhcp6_ia_na_client_cp.api.c> 59 #undef vl_msg_name_crc_list
int dhcp6_client_enable_disable(u32 sw_if_index, u8 enable)
static u32 dhcp_base_msg_id
Base message ID fot the plugin.
#define VLIB_INIT_FUNCTION(x)
vl_api_interface_index_t sw_if_index
#define BAD_SW_IF_INDEX_LABEL
Enable/disable DHCPv6 client on interface.
static clib_error_t * dhcp_ia_na_client_cp_api_init(vlib_main_t *vm)
static void setup_message_id_table(snat_main_t *sm, api_main_t *am)
static void vl_api_dhcp6_client_enable_disable_t_handler(vl_api_dhcp6_client_enable_disable_t *mp)
vl_api_interface_index_t sw_if_index
#define VALIDATE_SW_IF_INDEX(mp)