lwip/src/core
David J. Fiddes 0d6d8922f2 Implement RFC4075 Receive SNTP servers via DHCPv6
This adds support for RFC4075 SNTP server configuration via DHCPv6.
The DHCPv6 options transmitted are now conditional on how LwIP is
configured.

A new SNTP application option SNTP_GET_SERVERS_FROM_DHCPV6 is used
to enable. For simplicity this is configured to use the global
LWIP_DHCP6_GET_NTP_SRV configuration setting.

Tests:
 - Check the global options now control the DHCPv6 request sent
   in Wireshark
 - Check against 0, 1 and 3 SNTP servers configured on an odhcpd
   server configured to support RFC 4075 SNTP server lists.
   Verify that the SNTP server list is updated on connection
   establishment on an ESP8266 WeMOS D1.
 - Verify that SNTP packets are sent and recieved from a
   configured server and that system time is updated.

Signed-off-by: David J. Fiddes <D.J@fiddes.net>
(cherry picked from commit 8f2f43f093)
2019-02-18 13:02:48 +01:00
..
ipv4 Fix bug #54670: 127.0.0.1 sent out to netif_default? 2018-11-06 13:14:22 +01:00
ipv6 Implement RFC4075 Receive SNTP servers via DHCPv6 2019-02-18 13:02:48 +01:00
altcp_alloc.c altcp_tls: rename altcp_tls_new -> altcp_tls_wrap, add altcp_tls_new 2018-09-24 22:29:54 +02:00
altcp_tcp.c fix compiling with LWIP_NOASSERT defined 2018-06-20 20:56:20 +02:00
altcp.c Documentation improvements for 2.1.0 (changelog, altcp) 2018-09-26 14:37:52 +02:00
def.c lwip_itoa: fix implicit conversion warning 2018-06-18 12:15:37 +02:00
dns.c dns: add a comment about case insensitivity 2018-06-13 15:10:47 +02:00
inet_chksum.c Fix bug #52368: Minor typo in comment 2017-11-08 19:52:40 +01:00
init.c Remove checks that the SO_* socket options and SOF_* lwIP-internal flags match 2018-09-07 10:01:59 +02:00
ip.c Reformat core code using astylerc 2017-09-17 20:38:38 +02:00
mem.c LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT: 'lfree' mus be volatile 2018-04-18 22:12:46 +02:00
memp.c memp: remove include of sockets.h 2018-02-13 14:04:01 -06:00
netif.c minor whitespace cleanup 2018-06-15 21:19:19 +02:00
pbuf.c Fix bug #54327: V2.1.0rc1 pbuf.c misses stdint.h include 2018-07-18 07:31:47 +02:00
raw.c bug #52937: raw_input() must tell ip4/6_input() if protocol has been received 2018-01-25 12:51:46 +01:00
stats.c stats: Use proper format modifier in stats_display_mem/stats_display_sys 2017-06-19 14:07:31 +02:00
sys.c docs: fix minor mis-spelling in sys.c 2017-10-27 15:33:18 -05:00
tcp_in.c tcp: improve debug message a little 2019-02-18 13:00:17 +01:00
tcp_out.c Fix bug #54506 (LWIP_CHECKSUM_ON_COPY causes wrong checksum (0xFFFF)) 2018-09-12 21:56:16 +02:00
tcp.c TCP/UDP documentation: Add reference to PCB mempool #defines 2019-02-18 12:58:19 +01:00
timeouts.c add initial support for stateless DHCPv6 2018-02-22 22:33:16 +01:00
udp.c TCP/UDP documentation: Add reference to PCB mempool #defines 2019-02-18 12:58:19 +01:00