Documentation
Includes
lwip/opt.h
#include "lwip/opt.h"
Macros
Marco LWIP_HDR_PROT_DHCP6_H
#define LWIP_HDR_PROT_DHCP6_H
Marco DHCP6_CLIENT_PORT
#define DHCP6_CLIENT_PORT 546
Marco DHCP6_SERVER_PORT
#define DHCP6_SERVER_PORT 547
Marco DHCP6_TRANSACTION_ID_LEN
#define DHCP6_TRANSACTION_ID_LEN 3
Marco DHCP6_SOLICIT
#define DHCP6_SOLICIT 1
Marco DHCP6_ADVERTISE
#define DHCP6_ADVERTISE 2
Marco DHCP6_REQUEST
#define DHCP6_REQUEST 3
Marco DHCP6_CONFIRM
#define DHCP6_CONFIRM 4
Marco DHCP6_RENEW
#define DHCP6_RENEW 5
Marco DHCP6_REBIND
#define DHCP6_REBIND 6
Marco DHCP6_REPLY
#define DHCP6_REPLY 7
Marco DHCP6_RELEASE
#define DHCP6_RELEASE 8
Marco DHCP6_DECLINE
#define DHCP6_DECLINE 9
#define DHCP6_RECONFIGURE 10
Marco DHCP6_INFOREQUEST
#define DHCP6_INFOREQUEST 11
Marco DHCP6_RELAYFORW
#define DHCP6_RELAYFORW 12
Marco DHCP6_RELAYREPL
#define DHCP6_RELAYREPL 13
Marco DHCP6_STATUS_SUCCESS
#define DHCP6_STATUS_SUCCESS 0 /* Success. */
Marco DHCP6_STATUS_UNSPECFAIL
#define DHCP6_STATUS_UNSPECFAIL 1 /* Failure, reason unspecified; this status code is sent by either a client or a server to indicate a failure not explicitly specified in this document. */
Marco DHCP6_STATUS_NOADDRSAVAIL
#define DHCP6_STATUS_NOADDRSAVAIL 2 /* Server has no addresses available to assign to the IA(s). */
Marco DHCP6_STATUS_NOBINDING
#define DHCP6_STATUS_NOBINDING 3 /* Client record (binding) unavailable. */
Marco DHCP6_STATUS_NOTONLINK
#define DHCP6_STATUS_NOTONLINK 4 /* The prefix for the address is not appropriate for the link to which the client is attached. */
Marco DHCP6_STATUS_USEMULTICAST
#define DHCP6_STATUS_USEMULTICAST 5 /* Sent by a server to a client to force the client to send messages to the server using the All_DHCP_Relay_Agents_and_Servers address. */
Marco DHCP6_DUID_LLT
#define DHCP6_DUID_LLT 1 /* LLT: Link-layer Address Plus Time */
Marco DHCP6_DUID_EN
#define DHCP6_DUID_EN 2 /* EN: Enterprise number */
Marco DHCP6_DUID_LL
#define DHCP6_DUID_LL 3 /* LL: Link-layer Address */
Marco DHCP6_DUID_UUID
#define DHCP6_DUID_UUID 4 /* UUID (RFC 6355) */
Marco DHCP6_OPTION_CLIENTID
#define DHCP6_OPTION_CLIENTID 1
Marco DHCP6_OPTION_SERVERID
#define DHCP6_OPTION_SERVERID 2
Marco DHCP6_OPTION_IA_NA
#define DHCP6_OPTION_IA_NA 3
Marco DHCP6_OPTION_IA_TA
#define DHCP6_OPTION_IA_TA 4
Marco DHCP6_OPTION_IAADDR
#define DHCP6_OPTION_IAADDR 5
Marco DHCP6_OPTION_ORO
#define DHCP6_OPTION_ORO 6
Marco DHCP6_OPTION_PREFERENCE
#define DHCP6_OPTION_PREFERENCE 7
Marco DHCP6_OPTION_ELAPSED_TIME
#define DHCP6_OPTION_ELAPSED_TIME 8
Marco DHCP6_OPTION_RELAY_MSG
#define DHCP6_OPTION_RELAY_MSG 9
Marco DHCP6_OPTION_AUTH
#define DHCP6_OPTION_AUTH 11
Marco DHCP6_OPTION_UNICAST
#define DHCP6_OPTION_UNICAST 12
Marco DHCP6_OPTION_STATUS_CODE
#define DHCP6_OPTION_STATUS_CODE 13
Marco DHCP6_OPTION_RAPID_COMMIT
#define DHCP6_OPTION_RAPID_COMMIT 14
Marco DHCP6_OPTION_USER_CLASS
#define DHCP6_OPTION_USER_CLASS 15
Marco DHCP6_OPTION_VENDOR_CLASS
#define DHCP6_OPTION_VENDOR_CLASS 16
Marco DHCP6_OPTION_VENDOR_OPTS
#define DHCP6_OPTION_VENDOR_OPTS 17
Marco DHCP6_OPTION_INTERFACE_ID
#define DHCP6_OPTION_INTERFACE_ID 18
Marco DHCP6_OPTION_RECONF_MSG
#define DHCP6_OPTION_RECONF_MSG 19
Marco DHCP6_OPTION_RECONF_ACCEPT
#define DHCP6_OPTION_RECONF_ACCEPT 20
Marco DHCP6_OPTION_DNS_SERVERS
#define DHCP6_OPTION_DNS_SERVERS 23 /* RFC 3646 */
Marco DHCP6_OPTION_DOMAIN_LIST
#define DHCP6_OPTION_DOMAIN_LIST 24 /* RFC 3646 */
Marco DHCP6_OPTION_SNTP_SERVERS
#define DHCP6_OPTION_SNTP_SERVERS 31 /* RFC 4075 */
Functions
Vars
Variable PACK_STRUCT_END
PACK_STRUCT_END
#ifdef PACK_STRUCT_USE_INCLUDES
# include "arch/epstruct.h"
#endif
/* DHCP6 client states */
typedef enum {
DHCP6_STATE_OFF = 0,
DHCP6_STATE_STATELESS_IDLE = 1,
DHCP6_STATE_REQUESTING_CONFIG = 2
} dhcp6_state_enum_t;
Consts
Types
Typedefs