FD.io VPP  v21.01.1
Vector Packet Processing
dhcp6_ia_na_client_cp.c File Reference
+ Include dependency graph for dhcp6_ia_na_client_cp.c:

Go to the source code of this file.

Data Structures

struct  address_info_t
 
struct  client_state_t
 
struct  dhcp6_client_cp_main_t
 

Enumerations

enum  { RD_CP_EVENT_INTERRUPT, RD_CP_EVENT_DISABLE }
 

Functions

static void send_client_message_start_stop (u32 sw_if_index, u32 server_index, u8 msg_type, address_info_t *address_list, u8 start)
 
static void interrupt_process (void)
 
static u8 ip6_addresses_equal (ip6_address_t *address1, ip6_address_t *address2)
 
static clib_error_tdhcp6_reply_event_handler (vl_api_dhcp6_reply_event_t *mp)
 
static address_info_tcreate_address_list (u32 sw_if_index)
 
 VNET_DHCP6_REPLY_EVENT_FUNCTION (dhcp6_reply_event_handler)
 
static uword dhcp6_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 clib_error_tdhcp6_addresses_show_command_function (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdhcp6_clients_show_command_function (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
int dhcp6_client_enable_disable (u32 sw_if_index, u8 enable)
 
static clib_error_tdhcp6_client_enable_disable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tdhcp_ia_na_client_cp_init (vlib_main_t *vm)
 

Variables

static dhcp6_client_cp_main_t dhcp6_client_cp_main
 
vlib_node_registration_t dhcp6_client_cp_process_node
 (constructor) VLIB_REGISTER_NODE (dhcp6_client_cp_process_node) More...
 
static vlib_cli_command_t dhcp6_addresses_show_command
 (constructor) VLIB_CLI_COMMAND (dhcp6_addresses_show_command) More...
 
static vlib_cli_command_t dhcp6_clients_show_command
 (constructor) VLIB_CLI_COMMAND (dhcp6_clients_show_command) More...
 
static vlib_cli_command_t dhcp6_client_enable_disable_command
 (constructor) VLIB_CLI_COMMAND (dhcp6_client_enable_disable_command) More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
RD_CP_EVENT_INTERRUPT 
RD_CP_EVENT_DISABLE 

Definition at line 64 of file dhcp6_ia_na_client_cp.c.

Function Documentation

◆ create_address_list()

static address_info_t* create_address_list ( u32  sw_if_index)
static

Definition at line 343 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dhcp6_addresses_show_command_function()

static clib_error_t* dhcp6_addresses_show_command_function ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 519 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:

◆ dhcp6_client_cp_process()

static uword dhcp6_client_cp_process ( vlib_main_t vm,
vlib_node_runtime_t rt,
vlib_frame_t f 
)
static

Definition at line 366 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:

◆ dhcp6_client_enable_disable()

int dhcp6_client_enable_disable ( u32  sw_if_index,
u8  enable 
)

Definition at line 614 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dhcp6_client_enable_disable_command_fn()

static clib_error_t* dhcp6_client_enable_disable_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 694 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:

◆ dhcp6_clients_show_command_function()

static clib_error_t* dhcp6_clients_show_command_function ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 552 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:

◆ dhcp6_reply_event_handler()

static clib_error_t* dhcp6_reply_event_handler ( vl_api_dhcp6_reply_event_t mp)
static

Definition at line 157 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dhcp_ia_na_client_cp_init()

static clib_error_t* dhcp_ia_na_client_cp_init ( vlib_main_t vm)
static

Definition at line 758 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:

◆ disable_process()

static void disable_process ( void  )
static

Definition at line 496 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ enable_process()

static void enable_process ( void  )
static

Definition at line 506 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ interrupt_process()

static void interrupt_process ( void  )
static

Definition at line 486 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_addresses_equal()

static u8 ip6_addresses_equal ( ip6_address_t *  address1,
ip6_address_t *  address2 
)
static

Definition at line 149 of file dhcp6_ia_na_client_cp.c.

+ Here is the caller graph for this function:

◆ send_client_message_start_stop()

static void send_client_message_start_stop ( u32  sw_if_index,
u32  server_index,
u8  msg_type,
address_info_t address_list,
u8  start 
)
static

Definition at line 71 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ VNET_DHCP6_REPLY_EVENT_FUNCTION()

VNET_DHCP6_REPLY_EVENT_FUNCTION ( dhcp6_reply_event_handler  )
+ Here is the caller graph for this function:

Variable Documentation

◆ dhcp6_addresses_show_command

vlib_cli_command_t dhcp6_addresses_show_command
static
Initial value:
= {
.path = "show dhcp6 addresses",
.short_help = "show dhcp6 addresses",
}
static clib_error_t * dhcp6_addresses_show_command_function(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (dhcp6_addresses_show_command)

Definition at line 544 of file dhcp6_ia_na_client_cp.c.

◆ dhcp6_client_cp_main

dhcp6_client_cp_main_t dhcp6_client_cp_main
static

Definition at line 62 of file dhcp6_ia_na_client_cp.c.

◆ dhcp6_client_cp_process_node

vlib_node_registration_t dhcp6_client_cp_process_node
Initial value:
= {
.name = "dhcp6-client-cp-process",
}
static uword dhcp6_client_cp_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)

(constructor) VLIB_REGISTER_NODE (dhcp6_client_cp_process_node)

Definition at line 478 of file dhcp6_ia_na_client_cp.c.

◆ dhcp6_client_enable_disable_command

vlib_cli_command_t dhcp6_client_enable_disable_command
static
Initial value:
= {
.path = "dhcp6 client",
.short_help = "dhcp6 client <interface> [disable]",
}
static clib_error_t * dhcp6_client_enable_disable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (dhcp6_client_enable_disable_command)

Definition at line 750 of file dhcp6_ia_na_client_cp.c.

◆ dhcp6_clients_show_command

vlib_cli_command_t dhcp6_clients_show_command
static
Initial value:
= {
.path = "show dhcp6 clients",
.short_help = "show dhcp6 clients",
}
static clib_error_t * dhcp6_clients_show_command_function(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (dhcp6_clients_show_command)

Definition at line 606 of file dhcp6_ia_na_client_cp.c.