Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
dhcp6.h File Reference
DHCPv6 client: IPv6 address autoconfiguration as per RFC 3315 (stateful DHCPv6) and RFC 3736 (stateless DHCPv6). More...
Go to the source code of this file.
Functions | |
void | dhcp6_set_struct (struct netif *netif, struct dhcp6 *dhcp6) |
Set a statically allocated struct dhcp6 to work with. | |
void | dhcp6_cleanup (struct netif *netif) |
Removes a struct dhcp6 from a netif. | |
err_t | dhcp6_enable_stateful (struct netif *netif) |
Enable stateful DHCPv6 on this netif Requests are sent on receipt of an RA message with the ND6_RA_FLAG_MANAGED_ADDR_CONFIG flag set. | |
err_t | dhcp6_enable_stateless (struct netif *netif) |
Enable stateless DHCPv6 on this netif Requests are sent on receipt of an RA message with the ND6_RA_FLAG_OTHER_CONFIG flag set. | |
void | dhcp6_disable (struct netif *netif) |
Disable stateful or stateless DHCPv6 on this netif Requests are sent on receipt of an RA message with the ND6_RA_FLAG_OTHER_CONFIG flag set. | |
void | dhcp6_tmr (void) |
DHCPv6 timeout handling (this function must be called every 500ms, see DHCP6_TIMER_MSECS). | |
void | dhcp6_nd6_ra_trigger (struct netif *netif, u8_t managed_addr_config, u8_t other_config) |
This function is called from nd6 module when an RA messsage is received It triggers DHCPv6 requests (if enabled). | |
void | dhcp6_set_ntp_servers (u8_t num_ntp_servers, const ip_addr_t *ntp_server_addrs) |
This function must exist, in other to add offered NTP servers to the NTP (or SNTP) engine. |
Detailed Description
DHCPv6 client: IPv6 address autoconfiguration as per RFC 3315 (stateful DHCPv6) and RFC 3736 (stateless DHCPv6).
Definition in file dhcp6.h.
Function Documentation
void dhcp6_nd6_ra_trigger | ( | struct netif * | netif, |
u8_t | managed_addr_config, | ||
u8_t | other_config | ||
) |
This function is called from nd6 module when an RA messsage is received It triggers DHCPv6 requests (if enabled).
Definition at line 577 of file lwip_dhcp6.c.
void dhcp6_set_ntp_servers | ( | u8_t | num_ntp_servers, |
const ip_addr_t * | ntp_server_addrs | ||
) |
This function must exist, in other to add offered NTP servers to the NTP (or SNTP) engine.
See LWIP_DHCP6_MAX_NTP_SERVERS
void dhcp6_tmr | ( | void | ) |
DHCPv6 timeout handling (this function must be called every 500ms, see DHCP6_TIMER_MSECS).
A DHCPv6 server is expected to respond within a short period of time. This timer checks whether an outstanding DHCPv6 request is timed out.
Definition at line 790 of file lwip_dhcp6.c.
Generated on Tue Jul 12 2022 13:55:06 by
