24 #include <dhcp/dhcp6_pd_client_cp.api_enum.h> 25 #include <dhcp/dhcp6_pd_client_cp.api_types.h> 31 #define REPLY_MSG_ID_BASE dhcp_base_msg_id 39 vl_api_dhcp6_pd_client_enable_disable_reply_t *rmp;
52 REPLY_MACRO (VL_API_DHCP6_PD_CLIENT_ENABLE_DISABLE_REPLY);
59 vl_api_ip6_add_del_address_using_prefix_reply_t *rmp;
73 prefix_length, mp->
is_add);
77 REPLY_MACRO (VL_API_IP6_ADD_DEL_ADDRESS_USING_PREFIX_REPLY);
80 #define vl_msg_name_crc_list 81 #include <dhcp/dhcp6_pd_client_cp.api.c> 82 #undef vl_msg_name_crc_list
static clib_error_t * dhcp_pd_client_cp_api_init(vlib_main_t *vm)
int dhcp6_pd_client_enable_disable(u32 sw_if_index, const u8 *prefix_group, u8 enable)
void ip6_address_decode(const vl_api_ip6_address_t in, ip6_address_t *out)
vl_api_interface_index_t sw_if_index
Enable/disable DHCPv6 PD client on interface.
static void vl_api_ip6_add_del_address_using_prefix_t_handler(vl_api_ip6_add_del_address_using_prefix_t *mp)
#define VLIB_INIT_FUNCTION(x)
vl_api_ip6_address_with_prefix_t address_with_prefix
#define BAD_SW_IF_INDEX_LABEL
manual_print typedef address
static u32 dhcp_base_msg_id
Base message ID fot the plugin.
Add/delete IPv6 address optionally using available prefix.
vl_api_interface_index_t sw_if_index
static void vl_api_dhcp6_pd_client_enable_disable_t_handler(vl_api_dhcp6_pd_client_enable_disable_t *mp)
static void setup_message_id_table(snat_main_t *sm, api_main_t *am)
int dhcp6_cp_ip6_address_add_del(u32 sw_if_index, const u8 *prefix_group, ip6_address_t address, u8 prefix_length, u8 is_add)
vl_api_interface_index_t sw_if_index
#define VALIDATE_SW_IF_INDEX(mp)