MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
DHCPv6

Overview

Macros

#define LWIP_IPV6_DHCP6   0
 
#define LWIP_IPV6_DHCP6_STATEFUL   0
 
#define LWIP_IPV6_DHCP6_STATELESS   LWIP_IPV6_DHCP6
 
#define LWIP_DHCP6_GET_NTP_SRV   0
 
#define LWIP_DHCP6_MAX_NTP_SERVERS   1
 
#define LWIP_DHCP6_MAX_DNS_SERVERS   DNS_MAX_SERVERS
 

Macro Definition Documentation

#define LWIP_IPV6_DHCP6   0

LWIP_IPV6_DHCP6==1: enable DHCPv6 stateful/stateless address autoconfiguration.

#define LWIP_IPV6_DHCP6_STATEFUL   0

LWIP_IPV6_DHCP6_STATEFUL==1: enable DHCPv6 stateful address autoconfiguration. (not supported, yet!)

#define LWIP_IPV6_DHCP6_STATELESS   LWIP_IPV6_DHCP6

LWIP_IPV6_DHCP6_STATELESS==1: enable DHCPv6 stateless address autoconfiguration.

#define LWIP_DHCP6_GET_NTP_SRV   0

LWIP_DHCP6_GETS_NTP==1: Request NTP servers via DHCPv6. For each response packet, a callback is called, which has to be provided by the port: void dhcp6_set_ntp_servers(u8_t num_ntp_servers, ip_addr_t* ntp_server_addrs);

#define LWIP_DHCP6_MAX_NTP_SERVERS   1

The maximum of NTP servers requested

#define LWIP_DHCP6_MAX_DNS_SERVERS   DNS_MAX_SERVERS

LWIP_DHCP6_MAX_DNS_SERVERS > 0: Request DNS servers via DHCPv6. DNS servers received in the response are passed to DNS via dns_setserver() (up to the maximum limit defined here).