|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
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
#define VALIDATE_SW_IF_INDEX(mp)
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)
void ip6_address_decode(const vl_api_ip6_address_t in, ip6_address_t *out)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
vl_api_interface_index_t sw_if_index
Add/delete IPv6 address optionally using available prefix.
int dhcp6_pd_client_enable_disable(u32 sw_if_index, const u8 *prefix_group, u8 enable)
static void setup_message_id_table(api_main_t *am)
manual_print typedef address
static void vl_api_dhcp6_pd_client_enable_disable_t_handler(vl_api_dhcp6_pd_client_enable_disable_t *mp)
#define BAD_SW_IF_INDEX_LABEL
#define VLIB_INIT_FUNCTION(x)
static clib_error_t * dhcp_pd_client_cp_api_init(vlib_main_t *vm)
vl_api_ip6_address_with_prefix_t address_with_prefix
static u32 dhcp_base_msg_id
Base message ID fot the plugin.
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)
vl_api_interface_index_t sw_if_index
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)