37#ifndef LWIP_HDR_PROT_DHCP6_H
38#define LWIP_HDR_PROT_DHCP6_H
46#define DHCP6_CLIENT_PORT 546
47#define DHCP6_SERVER_PORT 547
51#define DHCP6_TRANSACTION_ID_LEN 3
53#ifdef PACK_STRUCT_USE_INCLUDES
65#ifdef PACK_STRUCT_USE_INCLUDES
78#define DHCP6_SOLICIT 1
79#define DHCP6_ADVERTISE 2
80#define DHCP6_REQUEST 3
81#define DHCP6_CONFIRM 4
85#define DHCP6_RELEASE 8
86#define DHCP6_DECLINE 9
87#define DHCP6_RECONFIGURE 10
88#define DHCP6_INFOREQUEST 11
89#define DHCP6_RELAYFORW 12
90#define DHCP6_RELAYREPL 13
94#define DHCP6_STATUS_SUCCESS 0
95#define DHCP6_STATUS_UNSPECFAIL 1
96#define DHCP6_STATUS_NOADDRSAVAIL 2
97#define DHCP6_STATUS_NOBINDING 3
98#define DHCP6_STATUS_NOTONLINK 4
99#define DHCP6_STATUS_USEMULTICAST 5
103#define DHCP6_DUID_LLT 1
104#define DHCP6_DUID_EN 2
105#define DHCP6_DUID_LL 3
106#define DHCP6_DUID_UUID 4
109#define DHCP6_OPTION_CLIENTID 1
110#define DHCP6_OPTION_SERVERID 2
111#define DHCP6_OPTION_IA_NA 3
112#define DHCP6_OPTION_IA_TA 4
113#define DHCP6_OPTION_IAADDR 5
114#define DHCP6_OPTION_ORO 6
115#define DHCP6_OPTION_PREFERENCE 7
116#define DHCP6_OPTION_ELAPSED_TIME 8
117#define DHCP6_OPTION_RELAY_MSG 9
118#define DHCP6_OPTION_AUTH 11
119#define DHCP6_OPTION_UNICAST 12
120#define DHCP6_OPTION_STATUS_CODE 13
121#define DHCP6_OPTION_RAPID_COMMIT 14
122#define DHCP6_OPTION_USER_CLASS 15
123#define DHCP6_OPTION_VENDOR_CLASS 16
124#define DHCP6_OPTION_VENDOR_OPTS 17
125#define DHCP6_OPTION_INTERFACE_ID 18
126#define DHCP6_OPTION_RECONF_MSG 19
127#define DHCP6_OPTION_RECONF_ACCEPT 20
129#define DHCP6_OPTION_DNS_SERVERS 23
130#define DHCP6_OPTION_DOMAIN_LIST 24
131#define DHCP6_OPTION_SNTP_SERVERS 31
#define PACK_STRUCT_BEGIN
PACK_STRUCT_BEGIN struct dhcp6_msg PACK_STRUCT_STRUCT
@ DHCP6_STATE_REQUESTING_CONFIG
@ DHCP6_STATE_STATELESS_IDLE
#define DHCP6_TRANSACTION_ID_LEN
PACK_STRUCT_FLD_8(u8_t msgtype)
PACK_STRUCT_FLD_8(u8_t transaction_id[DHCP6_TRANSACTION_ID_LEN])