Go to the source code of this file.
|
static_always_inline u32 | active_prefix_index_by_prefix_group_index_get (u32 prefix_group_index) |
|
static_always_inline void | active_prefix_index_by_prefix_group_index_set (u32 prefix_group_index, u32 prefix_index) |
|
static_always_inline u8 | is_dhcpv6_pd_prefix (prefix_info_t *prefix_info) |
|
static_always_inline void | set_is_dhcpv6_pd_prefix (prefix_info_t *prefix_info, u8 value) |
|
static void | cp_ip6_address_prefix_add_del_handler (u32 prefix_index, u8 is_add) |
|
static void | notify_prefix_add_del (u32 prefix_index, u8 is_add) |
|
static void | send_client_message_start_stop (u32 sw_if_index, u32 server_index, u8 msg_type, prefix_info_t *prefix_list, u8 start) |
|
static void | interrupt_process (void) |
|
static u32 | ip6_enable (u32 sw_if_index) |
|
static u8 | ip6_prefixes_equal (ip6_address_t *prefix1, ip6_address_t *prefix2, u8 len) |
|
static clib_error_t * | dhcp6_pd_reply_event_handler (vl_api_dhcp6_pd_reply_event_t *mp) |
|
static prefix_info_t * | create_prefix_list (u32 sw_if_index) |
|
| VNET_DHCP6_PD_REPLY_EVENT_FUNCTION (dhcp6_pd_reply_event_handler) |
|
static uword | dhcp6_pd_client_cp_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
static void | disable_process (void) |
|
static void | enable_process (void) |
|
static u32 | cp_ip6_construct_address (ip6_address_info_t *address_info, u32 prefix_index, ip6_address_t *r_addr) |
|
static void | cp_ip6_address_add_del_now (ip6_address_info_t *address_info, u8 is_add) |
|
static u32 | cp_ip6_address_find_new_active_prefix (u32 prefix_group_index, u32 ignore_prefix_index) |
|
static u32 | prefix_group_find_or_create (const u8 *name, u8 create) |
|
static int | cp_ip6_address_add_del (u32 sw_if_index, const u8 *prefix_group, ip6_address_t address, u8 prefix_length, u8 is_add) |
|
static void | vl_api_ip6_add_del_address_using_prefix_t_handler (vl_api_ip6_add_del_address_using_prefix_t *mp) |
|
static clib_error_t * | cp_ip6_address_add_del_command_function (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | cp_ip6_addresses_show_command_function (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | cp_ip6_prefixes_show_command_function (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | ip6_pd_clients_show_command_function (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static int | dhcp6_pd_client_enable_disable (u32 sw_if_index, const u8 *prefix_group, u8 enable) |
|
static clib_error_t * | dhcp6_pd_client_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t()*input, vlib_cli_command_t *cmd) |
|
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 (api_main_t *am) |
|
static clib_error_t * | dhcp_pd_client_cp_init (vlib_main_t *vm) |
|
#define foreach_dhcp6_pd_client_cp_msg |
Value:_(IP6_ADD_DEL_ADDRESS_USING_PREFIX, ip6_add_del_address_using_prefix)
static int dhcp6_pd_client_enable_disable(u32 sw_if_index, const u8 *prefix_group, u8 enable)
Definition at line 37 of file dhcp6_pd_client_cp.c.
#define vl_endianfun /* define message structures */ |
#define vl_msg_name_crc_list |
#define vl_typedefs /* define message structures */ |
static int cp_ip6_address_add_del |
( |
u32 |
sw_if_index, |
|
|
const u8 * |
prefix_group, |
|
|
ip6_address_t |
address, |
|
|
u8 |
prefix_length, |
|
|
u8 |
is_add |
|
) |
| |
|
static |
static u32 cp_ip6_address_find_new_active_prefix |
( |
u32 |
prefix_group_index, |
|
|
u32 |
ignore_prefix_index |
|
) |
| |
|
static |
static void cp_ip6_address_prefix_add_del_handler |
( |
u32 |
prefix_index, |
|
|
u8 |
is_add |
|
) |
| |
|
static |
static int dhcp6_pd_client_enable_disable |
( |
u32 |
sw_if_index, |
|
|
const u8 * |
prefix_group, |
|
|
u8 |
enable |
|
) |
| |
|
static |
static void disable_process |
( |
void |
| ) |
|
|
static |
static void enable_process |
( |
void |
| ) |
|
|
static |
static void interrupt_process |
( |
void |
| ) |
|
|
static |
static u32 ip6_enable |
( |
u32 |
sw_if_index | ) |
|
|
static |
static void notify_prefix_add_del |
( |
u32 |
prefix_index, |
|
|
u8 |
is_add |
|
) |
| |
|
static |
static u32 prefix_group_find_or_create |
( |
const u8 * |
name, |
|
|
u8 |
create |
|
) |
| |
|
static |
static void send_client_message_start_stop |
( |
u32 |
sw_if_index, |
|
|
u32 |
server_index, |
|
|
u8 |
msg_type, |
|
|
prefix_info_t * |
prefix_list, |
|
|
u8 |
start |
|
) |
| |
|
static |
static void setup_message_id_table |
( |
api_main_t * |
am | ) |
|
|
static |
Initial value:= {
.name = "dhcp6-pd-client-cp-process",
}
static uword dhcp6_pd_client_cp_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
(constructor) VLIB_REGISTER_NODE (dhcp6_pd_client_cp_process_node)
Definition at line 609 of file dhcp6_pd_client_cp.c.
Initial value:= {
.path = "dhcp6 pd client",
.short_help = "dhcp6 pd client <interface> (prefix group <string> | disable)",
}
static clib_error_t * dhcp6_pd_client_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t()*input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcp6_pd_client_enable_disable_command)
Definition at line 1337 of file dhcp6_pd_client_cp.c.
Initial value:= {
.path = "set ip6 address",
.short_help = "set ip6 address <interface> [prefix group <string>] "
"<address> [del]",
}
static clib_error_t * cp_ip6_address_add_del_command_function(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ip6_address_add_del_command)
Definition at line 1026 of file dhcp6_pd_client_cp.c.
Initial value:= {
.path = "show ip6 addresses",
.short_help = "show ip6 addresses",
}
static clib_error_t * cp_ip6_addresses_show_command_function(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ip6_addresses_show_command)
Definition at line 1065 of file dhcp6_pd_client_cp.c.
Initial value:= {
.path = "show ip6 pd clients",
.short_help = "show ip6 pd clients",
}
static clib_error_t * ip6_pd_clients_show_command_function(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ip6_pd_clients_show_command)
Definition at line 1165 of file dhcp6_pd_client_cp.c.
Initial value:= {
.path = "show ip6 prefixes",
.short_help = "show ip6 prefixes",
}
static clib_error_t * cp_ip6_prefixes_show_command_function(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ip6_prefixes_show_command)
Definition at line 1103 of file dhcp6_pd_client_cp.c.