zephyr/subsys/net/ip
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
..
l2 net/ieee802154: Normalize parameter on radio API helper 2018-01-15 15:15:38 +02:00
6lo.c net: 6lo: Fix 6lo uncompression issue 2017-10-20 10:33:28 +03:00
6lo.h net/net_pkt: Fully separate struct net_pkt from struct net_buf 2017-04-21 14:19:50 +03:00
6lo_private.h net/net_pkt: Fully separate struct net_pkt from struct net_buf 2017-04-21 14:19:50 +03:00
CMakeLists.txt subsys/net/ip: Clear up content in CMakeLists.txt 2017-12-11 09:34:16 -05:00
connection.c net: Log drop reason when UDP or TCP checksum mismatch occurs 2017-09-29 15:10:35 +03:00
connection.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
dhcpv4.c net: ip: dhcpv4: Handle DHCPV4_OPTIONS_DNS_SERVER 2018-01-18 17:30:40 +02:00
dhcpv4.h net/dhcpv4: Rework initialization. 2017-03-09 20:33:41 +02:00
icmpv4.c net: icmpv4: Fix ICMPv4 packet size calculation 2017-09-13 09:28:32 -04:00
icmpv4.h net: icmpv4: Calculate start of ICMPv4 echo-req properly 2017-08-07 21:32:03 -04:00
icmpv6.c net: Fix indentation issues 2017-08-09 16:01:28 +03:00
icmpv6.h net: icmp: Remove NET_ICMP_HDR() macro and direct access to net_buf 2017-07-07 15:24:00 +03:00
ipv4.c net: ip: Optimize statements for setting packet lengths. 2018-01-04 18:37:18 -05:00
ipv4.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
ipv6.c net: ip: Optimize statements for setting packet lengths. 2018-01-04 18:37:18 -05:00
ipv6.h various: Update/fix some textual material and code comments. 2017-12-29 09:45:39 -05:00
Kconfig kconfig: fix help syntax and add spaces 2017-12-13 17:43:28 -06:00
Kconfig.debug net: pkt: Add CONFIG_NET_DEBUG_NET_PKT_ALL option 2017-08-16 14:50:57 -04:00
Kconfig.ipv4 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.ipv6 net/6lo: Enable it by default if IEEE 802.15.4 is enabled 2017-10-28 14:28:02 -04:00
Kconfig.mgmt net/mgmt: Cleanup a bit Kconfig 2017-10-09 10:53:17 +03:00
Kconfig.rpl net: rpl: Allow fine tuning of parent count 2017-08-14 11:06:34 +03:00
Kconfig.stack net: ip: Increase RX stack size 2017-04-07 13:33:55 +03:00
Kconfig.stats net: stats: Activate RPL and MLD stats if needed 2017-05-17 13:55:21 +03:00
nbr.c net: nbr: Use the real size of the neighbor pool 2017-08-14 11:06:34 +03:00
nbr.h net: nbr: Use the real size of the neighbor pool 2017-08-14 11:06:34 +03:00
net_context.c net: tcp Remove recv_max_ack field from struct net_tcp 2018-01-15 15:08:22 +02:00
net_core.c net: Let loopback driver handle lo if it is enabled 2017-11-15 12:27:14 +02:00
net_if.c net: use UNALIGNED_ACCESS when accessing s_addr on received packets. 2018-01-16 11:27:48 +02:00
net_mgmt.c net/mgmt: Make event notifiers able to pass info to listeners 2017-10-09 10:53:17 +03:00
net_pkt.c net: skip TX max send calculation in net_pkt_append() for RX packets 2018-01-10 21:48:20 -05:00
net_private.h net: pkt: net_pkt_tcp/udp_data: Better document caveats 2017-10-20 11:01:48 +03:00
net_shell.c net: shell: Fix typo in description of "dns" command. 2018-01-17 17:08:54 -05:00
net_shell.h net: shell: Remove net_shell_init() as it is not needed 2017-08-01 14:45:06 +03:00
net_stats.c net: stats: IPv6 multicast listener daemon stats not printed 2017-05-17 13:55:21 +03:00
net_stats.h net: stats: Add UDP checksum stats update function 2017-05-17 13:55:21 +03:00
route.c net: rpl: DAO message was discarded too early 2017-08-09 12:25:03 +03:00
route.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
rpl-mrhof.c net: Fix indentation issues 2017-08-09 16:01:28 +03:00
rpl-of0.c net: Fix indentation issues 2017-08-09 16:01:28 +03:00
rpl.c net: nbr: Print network interface pointer when adding neighbor 2017-09-26 11:31:57 +03:00
rpl.h net: Fix indentation issues 2017-08-09 16:01:28 +03:00
tcp.c net: tcp Remove recv_max_ack field from struct net_tcp 2018-01-15 15:08:22 +02:00
tcp.h net: tcp Remove recv_max_ack field from struct net_tcp 2018-01-15 15:08:22 +02:00
trickle.c net: trickle: Do clock wrap check properly 2017-08-07 21:32:03 -04:00
udp.c net: udp: Remove NET_UDP_HDR() macro and direct access to net_buf 2017-07-07 15:24:00 +03:00
udp_internal.h net: udp: Remove NET_UDP_HDR() macro and direct access to net_buf 2017-07-07 15:24:00 +03:00
utils.c net: Do not try to parse empty IP address string 2017-09-15 12:20:32 +03:00