Dynamic Host Configuration Protocol for IPv6 (DHCPv6)

DHCPv6 definitions. More...

Detailed Description

DHCPv6 definitions.

Modules

 DHCPv6 client
 DHCPv6 client implementation.
 

Files

file  dhcpv6.h
 DHCPv6 definitions.
 
file  _dhcpv6.h
 Internal DHCPv6 definitions.
 

DHCPv6 ports

See also
RFC 8415, section 7.2
#define DHCPV6_CLIENT_PORT   (546U)
 client port
 
#define DHCPV6_SERVER_PORT   (547U)
 server and relay agent port
 

DHCPv6 message types

See also
RFC 8415, section 7.3
#define DHCPV6_SOLICIT   (1U)
 SOLICIT.
 
#define DHCPV6_ADVERTISE   (2U)
 ADVERTISE.
 
#define DHCPV6_REQUEST   (3U)
 REQUEST.
 
#define DHCPV6_RENEW   (5U)
 RENEW.
 
#define DHCPV6_REBIND   (6U)
 REBIND.
 
#define DHCPV6_REPLY   (7U)
 REPLY.
 

DHCPv6 option codes

@ }

See also
RFC 8415, section 21
#define DHCPV6_OPT_CID   (1U)
 client identifier option
 
#define DHCPV6_OPT_SID   (2U)
 server identifier option
 
#define DHCPV6_OPT_ORO   (6U)
 option request option
 
#define DHCPV6_OPT_PREF   (7U)
 preference option
 
#define DHCPV6_OPT_ELAPSED_TIME   (8U)
 elapsed time option
 
#define DHCPV6_OPT_STATUS   (13U)
 status code option
 
#define DHCPV6_OPT_IA_PD   (25U)
 identity association for prefix delegation (IA_PD) option
 
#define DHCPV6_OPT_IAPFX   (26U)
 IA prefix option.
 
#define DHCPV6_OPT_SMR   (82U)
 SOL_MAX_RT option.
 

DHCPv6 status codes

See also
RFC 8415, section 21.13
#define DHCPV6_STATUS_SUCCESS   (0U)
 Success.
 

DHCPv6 unique identifier (DUID) types

See also
RFC 8415, section 11.1
#define DHCPV6_DUID_TYPE_L2   (3U)
 Link-layer address.