zephyr/subsys/net
John Andersen b0d8075709 net: ip: dhcpv4: Handle DHCPV4_OPTIONS_DNS_SERVER
Actually set Zephyr's default DNS server based on the corresponding
DHCP option received. This makes DHCP-based setup Zephyr complete:
now it's possible to connect Zephyr DHCP-enabled system to a typical
router, and it will fully auto-configure to access Internet.

This initial implementation uses just first DNS server address as
returned in DHCP message, it may need to be extended in the future
based on the need.

Signed-off-by: John Andersen <john.s.andersen@intel.com>
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2018-01-18 17:30:40 +02:00
..
ip net: ip: dhcpv4: Handle DHCPV4_OPTIONS_DNS_SERVER 2018-01-18 17:30:40 +02:00
lib net: dns: Allow to initialize DNS servers from struct sockaddr[] 2018-01-18 17:30:40 +02:00
buf.c net: buf: Add slist helpers 2017-11-06 14:20:40 +02:00
CMakeLists.txt net/ieee802154: Make RAW mode generic 2017-11-22 10:10:09 -05:00
hostname.c net: Add hostname setting to Kconfig 2017-10-17 08:36:39 -04:00
Kconfig net: Kconfig: Don't select STDOUT_CONSOLE 2018-01-05 10:00:26 -05:00
Kconfig.hostname net: Add hostname setting to Kconfig 2017-10-17 08:36:39 -04:00
TODO Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00