Loading...
Searching...
No Matches
Dynamic Host Configuration Protocol for IPv6 (DHCPv6)

DHCPv6 definitions. More...

Detailed Description

DHCPv6 definitions.

Modules

 DHCPv6 client
 DHCPv6 client implementation.
 
 DHCPv6 relay agent
 DHCPv6 relay agent implementation.
 

Files

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

DHCPv6 ports

See also
[RFC 8415, section 7.2] (https://tools.ietf.org/html/rfc8415#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] (https://tools.ietf.org/html/rfc8415#section-7.3)
#define DHCPV6_SOLICIT   (1U)
 SOLICIT.
 
#define DHCPV6_ADVERTISE   (2U)
 ADVERTISE.
 
#define DHCPV6_REQUEST   (3U)
 REQUEST.
 
#define DHCPV6_CONFIRM   (4U)
 CONFIRM.
 
#define DHCPV6_RENEW   (5U)
 RENEW.
 
#define DHCPV6_REBIND   (6U)
 REBIND.
 
#define DHCPV6_REPLY   (7U)
 REPLY.
 
#define DHCPV6_RELEASE   (8U)
 RELEASE.
 
#define DHCPV6_DECLINE   (9U)
 DECLINE.
 
#define DHCPV6_INFO_REQUEST   (11U)
 INFORMATION-REQUEST.
 
#define DHCPV6_RELAY_FORW   (12U)
 RELAY-FORW.
 
#define DHCPV6_RELAY_REPL   (13U)
 RELAY-REPL.
 

DHCPv6 option codes

See also
[RFC 8415, section 21] (https://tools.ietf.org/html/rfc8415#section-21)
#define DHCPV6_OPT_CID   (1U)
 client identifier option
 
#define DHCPV6_OPT_SID   (2U)
 server identifier option
 
#define DHCPV6_OPT_IA_NA   (3U)
 identity association for non-temporary addresses option
 
#define DHCPV6_OPT_IAADDR   (5U)
 IA address 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_RELAY_MSG   (9U)
 relay message option
 
#define DHCPV6_OPT_STATUS   (13U)
 status code option
 
#define DHCPV6_OPT_IID   (18U)
 interface-id option
 
#define DHCPV6_OPT_DNS_RNS   (23U)
 DNS recursive name server 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_IRT   (32U)
 Information Refresh Time Option.
 
#define DHCPV6_OPT_SMR   (82U)
 SOL_MAX_RT option.
 
#define DHCPV6_OPT_IMR   (83U)
 INF_MAX_RT option.
 
#define DHCPV6_OPT_MUD_URL   (112U)
 MUD URL option (see RFC 8520)
 

DHCPv6 status codes

See also
[RFC 8415, section 21.13] (https://tools.ietf.org/html/rfc8415#section-21.13)
#define DHCPV6_STATUS_SUCCESS   (0U)
 Success.
 

DHCPv6 unique identifier (DUID) types

See also
[RFC 8415, section 11.1] (https://tools.ietf.org/html/rfc8415#section-11.1)
#define DHCPV6_DUID_TYPE_L2   (3U)
 Link-layer address.
 

Macro Definition Documentation

◆ DHCPV6_ADVERTISE

#define DHCPV6_ADVERTISE   (2U)

ADVERTISE.

Definition at line 48 of file dhcpv6.h.

◆ DHCPV6_CLIENT_PORT

#define DHCPV6_CLIENT_PORT   (546U)

client port

Definition at line 34 of file dhcpv6.h.

◆ DHCPV6_CONFIRM

#define DHCPV6_CONFIRM   (4U)

CONFIRM.

Definition at line 50 of file dhcpv6.h.

◆ DHCPV6_DECLINE

#define DHCPV6_DECLINE   (9U)

DECLINE.

Definition at line 55 of file dhcpv6.h.

◆ DHCPV6_DUID_TYPE_L2

#define DHCPV6_DUID_TYPE_L2   (3U)

Link-layer address.

Definition at line 105 of file dhcpv6.h.

◆ DHCPV6_INFO_REQUEST

#define DHCPV6_INFO_REQUEST   (11U)

INFORMATION-REQUEST.

Definition at line 56 of file dhcpv6.h.

◆ DHCPV6_OPT_CID

#define DHCPV6_OPT_CID   (1U)

client identifier option

Definition at line 68 of file dhcpv6.h.

◆ DHCPV6_OPT_DNS_RNS

#define DHCPV6_OPT_DNS_RNS   (23U)

DNS recursive name server option.

Definition at line 79 of file dhcpv6.h.

◆ DHCPV6_OPT_ELAPSED_TIME

#define DHCPV6_OPT_ELAPSED_TIME   (8U)

elapsed time option

Definition at line 75 of file dhcpv6.h.

◆ DHCPV6_OPT_IA_NA

#define DHCPV6_OPT_IA_NA   (3U)

identity association for non-temporary addresses option

Definition at line 71 of file dhcpv6.h.

◆ DHCPV6_OPT_IA_PD

#define DHCPV6_OPT_IA_PD   (25U)

identity association for prefix delegation (IA_PD) option

Definition at line 81 of file dhcpv6.h.

◆ DHCPV6_OPT_IAADDR

#define DHCPV6_OPT_IAADDR   (5U)

IA address option.

Definition at line 72 of file dhcpv6.h.

◆ DHCPV6_OPT_IAPFX

#define DHCPV6_OPT_IAPFX   (26U)

IA prefix option.

Definition at line 82 of file dhcpv6.h.

◆ DHCPV6_OPT_IID

#define DHCPV6_OPT_IID   (18U)

interface-id option

Definition at line 78 of file dhcpv6.h.

◆ DHCPV6_OPT_IMR

#define DHCPV6_OPT_IMR   (83U)

INF_MAX_RT option.

Definition at line 85 of file dhcpv6.h.

◆ DHCPV6_OPT_IRT

#define DHCPV6_OPT_IRT   (32U)

Information Refresh Time Option.

Definition at line 83 of file dhcpv6.h.

◆ DHCPV6_OPT_MUD_URL

#define DHCPV6_OPT_MUD_URL   (112U)

MUD URL option (see RFC 8520)

Definition at line 86 of file dhcpv6.h.

◆ DHCPV6_OPT_ORO

#define DHCPV6_OPT_ORO   (6U)

option request option

Definition at line 73 of file dhcpv6.h.

◆ DHCPV6_OPT_PREF

#define DHCPV6_OPT_PREF   (7U)

preference option

Definition at line 74 of file dhcpv6.h.

◆ DHCPV6_OPT_RELAY_MSG

#define DHCPV6_OPT_RELAY_MSG   (9U)

relay message option

Definition at line 76 of file dhcpv6.h.

◆ DHCPV6_OPT_SID

#define DHCPV6_OPT_SID   (2U)

server identifier option

Definition at line 69 of file dhcpv6.h.

◆ DHCPV6_OPT_SMR

#define DHCPV6_OPT_SMR   (82U)

SOL_MAX_RT option.

Definition at line 84 of file dhcpv6.h.

◆ DHCPV6_OPT_STATUS

#define DHCPV6_OPT_STATUS   (13U)

status code option

Definition at line 77 of file dhcpv6.h.

◆ DHCPV6_REBIND

#define DHCPV6_REBIND   (6U)

REBIND.

Definition at line 52 of file dhcpv6.h.

◆ DHCPV6_RELAY_FORW

#define DHCPV6_RELAY_FORW   (12U)

RELAY-FORW.

Definition at line 57 of file dhcpv6.h.

◆ DHCPV6_RELAY_REPL

#define DHCPV6_RELAY_REPL   (13U)

RELAY-REPL.

Definition at line 58 of file dhcpv6.h.

◆ DHCPV6_RELEASE

#define DHCPV6_RELEASE   (8U)

RELEASE.

Definition at line 54 of file dhcpv6.h.

◆ DHCPV6_RENEW

#define DHCPV6_RENEW   (5U)

RENEW.

Definition at line 51 of file dhcpv6.h.

◆ DHCPV6_REPLY

#define DHCPV6_REPLY   (7U)

REPLY.

Definition at line 53 of file dhcpv6.h.

◆ DHCPV6_REQUEST

#define DHCPV6_REQUEST   (3U)

REQUEST.

Definition at line 49 of file dhcpv6.h.

◆ DHCPV6_SERVER_PORT

#define DHCPV6_SERVER_PORT   (547U)

server and relay agent port

Definition at line 36 of file dhcpv6.h.

◆ DHCPV6_SOLICIT

#define DHCPV6_SOLICIT   (1U)

SOLICIT.

Definition at line 47 of file dhcpv6.h.

◆ DHCPV6_STATUS_SUCCESS

#define DHCPV6_STATUS_SUCCESS   (0U)

Success.

Definition at line 96 of file dhcpv6.h.