FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
dhcp6_client_common_dp.h File Reference
+ Include dependency graph for dhcp6_client_common_dp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dhcp6_report_common_t
 
struct  server_id_t
 
struct  dhcp6_client_common_main_t
 
union  dhcpv6_duid_ll_string_t
 

Macros

#define CLIENT_DUID_LENGTH   sizeof (client_duid)
 
#define DHCPV6_CLIENT_IAID   1
 

Functions

void dhcp6_clients_enable_disable (u8 enable)
 
u32 server_index_get_or_create (u8 *data, u16 len)
 
static_always_inline f64 random_f64_from_to (f64 from, f64 to)
 

Variables

dhcp6_client_common_main_t dhcp6_client_common_main
 
dhcpv6_duid_ll_string_t client_duid
 
static const ip6_address_t all_dhcp6_relay_agents_and_servers
 

Macro Definition Documentation

◆ CLIENT_DUID_LENGTH

#define CLIENT_DUID_LENGTH   sizeof (client_duid)

Definition at line 59 of file dhcp6_client_common_dp.h.

◆ DHCPV6_CLIENT_IAID

#define DHCPV6_CLIENT_IAID   1

Definition at line 60 of file dhcp6_client_common_dp.h.

Function Documentation

◆ dhcp6_clients_enable_disable()

void dhcp6_clients_enable_disable ( u8  enable)

Definition at line 447 of file dhcp6_client_common_dp.c.

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

◆ random_f64_from_to()

static_always_inline f64 random_f64_from_to ( f64  from,
f64  to 
)

Definition at line 68 of file dhcp6_client_common_dp.h.

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

◆ server_index_get_or_create()

u32 server_index_get_or_create ( u8 data,
u16  len 
)

Definition at line 28 of file dhcp6_client_common_dp.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ all_dhcp6_relay_agents_and_servers

const ip6_address_t all_dhcp6_relay_agents_and_servers
static
Initial value:
= {
.as_u8 = {
0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02}
}

Definition at line 80 of file dhcp6_client_common_dp.h.

◆ client_duid

Definition at line 65 of file dhcp6_client_common_dp.h.

◆ dhcp6_client_common_main

dhcp6_client_common_main_t dhcp6_client_common_main

Definition at line 24 of file dhcp6_client_common_dp.c.