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 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 void | cp_ip6_advertise_prefix (prefix_info_t *prefix_info, ip6_address_info_t *address_info, int enable) |
|
static u32 | prefix_group_find_or_create (const u8 *name, u8 create) |
|
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) |
|
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) |
|
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 clib_error_t * | dhcp_pd_client_cp_init (vlib_main_t *vm) |
|
◆ anonymous enum
Enumerator |
---|
DHCPV6_PD_EVENT_INTERRUPT | |
DHCPV6_PD_EVENT_DISABLE | |
Definition at line 99 of file dhcp6_pd_client_cp.c.
◆ active_prefix_index_by_prefix_group_index_get()
◆ active_prefix_index_by_prefix_group_index_set()
◆ cp_ip6_address_add_del_command_function()
◆ cp_ip6_address_add_del_now()
◆ cp_ip6_address_find_new_active_prefix()
static u32 cp_ip6_address_find_new_active_prefix |
( |
u32 |
prefix_group_index, |
|
|
u32 |
ignore_prefix_index |
|
) |
| |
|
static |
◆ cp_ip6_address_prefix_add_del_handler()
static void cp_ip6_address_prefix_add_del_handler |
( |
u32 |
prefix_index, |
|
|
u8 |
is_add |
|
) |
| |
|
static |
◆ cp_ip6_addresses_show_command_function()
◆ cp_ip6_advertise_prefix()
◆ cp_ip6_construct_address()
◆ cp_ip6_prefixes_show_command_function()
◆ create_prefix_list()
◆ dhcp6_cp_ip6_address_add_del()
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 |
|
) |
| |
◆ dhcp6_pd_client_cp_process()
◆ dhcp6_pd_client_enable_disable()
int dhcp6_pd_client_enable_disable |
( |
u32 |
sw_if_index, |
|
|
const u8 * |
prefix_group, |
|
|
u8 |
enable |
|
) |
| |
◆ dhcp6_pd_client_enable_disable_command_fn()
◆ dhcp6_pd_reply_event_handler()
◆ dhcp_pd_client_cp_init()
◆ disable_process()
static void disable_process |
( |
void |
| ) |
|
|
static |
◆ enable_process()
static void enable_process |
( |
void |
| ) |
|
|
static |
◆ interrupt_process()
static void interrupt_process |
( |
void |
| ) |
|
|
static |
◆ ip6_pd_clients_show_command_function()
◆ ip6_prefixes_equal()
◆ is_dhcpv6_pd_prefix()
◆ notify_prefix_add_del()
static void notify_prefix_add_del |
( |
u32 |
prefix_index, |
|
|
u8 |
is_add |
|
) |
| |
|
static |
◆ prefix_group_find_or_create()
static u32 prefix_group_find_or_create |
( |
const u8 * |
name, |
|
|
u8 |
create |
|
) |
| |
|
static |
◆ send_client_message_start_stop()
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 |
◆ set_is_dhcpv6_pd_prefix()
◆ VNET_DHCP6_PD_REPLY_EVENT_FUNCTION()
◆ dhcp6_pd_client_cp_main
◆ dhcp6_pd_client_cp_process_node
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 612 of file dhcp6_pd_client_cp.c.
◆ dhcp6_pd_client_enable_disable_command
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 1397 of file dhcp6_pd_client_cp.c.
◆ ip6_address_add_del_command
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 1084 of file dhcp6_pd_client_cp.c.
◆ ip6_address_with_prefix_main
◆ ip6_addresses_show_command
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 1123 of file dhcp6_pd_client_cp.c.
◆ ip6_pd_clients_show_command
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 1223 of file dhcp6_pd_client_cp.c.
◆ ip6_prefix_main
◆ ip6_prefixes_show_command
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 1161 of file dhcp6_pd_client_cp.c.