23 #include <vnet/ip6-nd/rd_cp.api_enum.h> 24 #include <vnet/ip6-nd/rd_cp.api_types.h> 30 #define REPLY_MSG_ID_BASE rd_cp_base_msg_id 39 vl_api_ip6_nd_address_autoconfig_reply_t *rmp;
52 REPLY_MACRO (VL_API_IP6_ND_ADDRESS_AUTOCONFIG_REPLY);
55 #include <vnet/ip6-nd/rd_cp.api.c> static void vl_api_ip6_nd_address_autoconfig_t_handler(vl_api_ip6_nd_address_autoconfig_t *mp)
#define VLIB_INIT_FUNCTION(x)
Enable/disable IPv6 ND address autoconfiguration and setting up default routes.
static u32 rd_cp_base_msg_id
Base message ID fot the plugin.
static void setup_message_id_table(api_main_t *am)
#define BAD_SW_IF_INDEX_LABEL
static clib_error_t * rd_cp_api_init(vlib_main_t *vm)
int rd_cp_set_address_autoconfig(u32 sw_if_index, u8 enable, u8 install_default_routes)
bool install_default_routes
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t sw_if_index
#define VALIDATE_SW_IF_INDEX(mp)