Internal DHCPv6 definitions. More...

Detailed Description

Internal DHCPv6 definitions.

Note
This header is based on RFC 8415
Author
Martine Lenders m.len.nosp@m.ders.nosp@m.@fu-b.nosp@m.erli.nosp@m.n.de

Definition in file _dhcpv6.h.

#include <stdint.h>
#include "byteorder.h"
#include "net/ipv6/addr.h"
+ Include dependency graph for _dhcpv6.h:

Go to the source code of this file.

Data Structures

struct  dhcpv6_msg_t
 Client/Server message header. More...
 
union  dhcpv6_duid_t
 Generic storage DUID. More...
 
struct  dhcpv6_opt_t
 General DHCPv6 option format. More...
 
struct  dhcpv6_opt_duid_t
 DHCPv6 client or server identifier option format. More...
 
struct  dhcpv6_opt_oro_t
 DHCPv6 option request option format. More...
 
struct  dhcpv6_opt_pref_t
 DHCPv6 preference option format. More...
 
struct  dhcpv6_opt_elapsed_time_t
 DHCPv6 elapsed time option format. More...
 
struct  dhcpv6_opt_status_t
 DHCPv6 status code option format. More...
 
struct  dhcpv6_opt_ia_pd_t
 DHCPv6 identity association for prefix delegation option (IA_PD) format. More...
 
struct  dhcpv6_opt_iapfx_t
 DHCPv6 IA prefix option format. More...
 
struct  dhcpv6_opt_smr_t
 DHCPv6 SOL_MAX_RT option format. More...
 

Macros

#define DHCPV6_DUID_MAX_LEN   (128U)
 maximum length of DUID
 

DHCPv6 multicast addresses

See also
RFC 8415, section 7.1
#define DHCPV6_ALL_RELAY_AGENTS_AND_SERVERS
 Multicast address used by clients to communicate with neighboring relay agents and servers. More...
 

DHCPv6 transmission and retransmission parameters

See also
RFC 8415, section 7.6
#define DHCPV6_SOL_MAX_DELAY   (1U)
 SOL_MAX_DELAY (in sec)
 
#define DHCPV6_SOL_TIMEOUT   (1U)
 SOL_TIMEOUT (in sec)
 
#define DHCPV6_SOL_MAX_RT   (3600U)
 SOL_MAX_RT (in sec)
 
#define DHCPV6_REQ_TIMEOUT   (1U)
 REQ_TIMEOUT (in sec)
 
#define DHCPV6_REQ_MAX_RT   (30U)
 REQ_MAX_RT (in sec)
 
#define DHCPV6_REQ_MAX_RC   (10U)
 REQ_MAX_RC.
 
#define DHCPV6_REN_TIMEOUT   (10U)
 REN_TIMEOUT (in sec)
 
#define DHCPV6_REN_MAX_RT   (600U)
 REN_MAX_RT (in sec)
 
#define DHCPV6_REB_TIMEOUT   (10U)
 REB_TIMEOUT (in sec)
 
#define DHCPV6_REB_MAX_RT   (600U)
 REB_MAX_RT (in sec)
 

Macro Definition Documentation

◆ DHCPV6_ALL_RELAY_AGENTS_AND_SERVERS

#define DHCPV6_ALL_RELAY_AGENTS_AND_SERVERS
Value:
{ 0xff, 0x02, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, \
0x00, 0x01, 0x00, 0x02 \
}

Multicast address used by clients to communicate with neighboring relay agents and servers.

Note
Corresponds with All_DHCP_Relay_Agents_and_Servers in the draft.

Definition at line 45 of file _dhcpv6.h.