Merge net branch into master

Main changes:

- IP offloading fixes
- cc2520 fixes
- wpan usb and serial fixes
- IPv6 fixes
- TCP fixes
- RPL fixes
- IPv6 mesh routing fixes
- net-shell fixes
- New commands added to net-shell
- New DNS API added

----------------------------------------------------------------
Andrei Emeltchenko (3):
      wpan_serial: Correct system logging domain
      drivers: cc2520: Correct configuration options
      wpanusb: Fix using incorrect nbuf in fragment_get()

Gil Pitney (3):
      net: offload: Rename Kconfig NET_L2_OFFLOAD_IP to NET_OFFLOAD
      net: offload: Move offload_ip field from net_l2 to net_if
      net: offload: More decoupling of net_offload from l2 naming

Inaky Perez-Gonzalez (1):
      samples/net/echo_client: add SAM e70 and FRDM k64f ethernet configurations

Jukka Rissanen (16):
      net: route: Try to route IPv6 packet if we are not the recipient
      net: Select IPv6 neighbor cache when RPL is enabled
      net: rpl: Fix printf modifiers for size_t variables
      net: context: Set the bind port
      samples: net: Remove multicast address setting in echo-server
      net: ipv6: Adding router mgmt add/del events
      samples: net: Remove multicast address setting in echo-client
      net: tcp: Refactor net_tcp_trace()
      net: shell: Add command for testing TCP connection
      net: tcp: Invalid transition from FIN_WAIT_1 to CLOSE_WAIT
      net: dns: Add resolve API
      net: dns: Initialize DNS resolver if DNS servers are set
      net: dns: Add functions to resolve using default context
      samples: net: DNS resolving sample application
      net: shell: Add DNS query support
      tests: dns: Resolve API test cases

Ravi kumar Veeramally (8):
      net: zoap: Fix memory leak
      net: rpl: Handle verdict properly for forwarding_dao
      net: rpl: Add missing Kconfig option
      net: rpl: Fix invalid reading of RPL Transmit information
      net: rpl: Fix setting metadata of forwarding buffer
      net: rpl: Cache src and dst addresses for DAO ACK reply
      net: rpl: Fix verdict for handle_dao_ack
      net: route: Fix when route not found with dst address

Tomasz Bursztyka (10):
      drivers/ieee802154: Remove very old CC2520 left-over from µIP stack
      net/ipv6: Regroup debugging routines relevantly
      net/ipv6: Renaming IPv6 neighbor state related macros and function
      net/shell: Simplify ping logic
      net/icpmv4: Add dynamically registered ICMPv4 handlers
      net/shell: Add ping reply handlers and a timeout
      net/icmpv4: Normalize input function signature with ipv6 counter-part
      net/samples: Add static ipv4 addresses for arduino 101 echo apps config
      net/ipv6: Fix a NULL dereferencing issue when debug is enabled
      net/net_if: When IPv6 DAD is disabled, added address gets final state

 .../x86/quark_se_c1000_devboard/Kconfig.defconfig  |   4 +-
 boards/x86/quark_se_c1000_devboard/board.c         |   8 +-
 boards/x86/quark_se_c1000_devboard/board.h         |   8 +-
 drivers/ieee802154/Kconfig.cc2520                  |  27 +-
 drivers/ieee802154/Makefile                        |   1 -
 include/net/dns_resolve.h                          | 307 +++++++
 include/net/nbuf.h                                 |  21 +
 include/net/net_event.h                            |   8 +
 include/net/net_if.h                               |  20 +-
 include/net/net_l2.h                               |  12 +-
 include/net/{offload_ip.h => net_offload.h}        |  93 +--
 samples/net/dns_resolve/Makefile                   |  13 +
 samples/net/dns_resolve/prj_qemu_x86.conf          |  59 ++
 samples/net/dns_resolve/src/Makefile               |   7 +
 samples/net/dns_resolve/src/main.c                 | 284 +++++++
 samples/net/dns_resolve/testcase.ini               |   4 +
 samples/net/echo_client/prj_arduino_101.conf       |   4 +
 samples/net/echo_client/prj_frdm_k64f.conf         |  32 +
 samples/net/echo_client/prj_sam_e70_xplained.conf  |  36 +
 samples/net/echo_client/src/echo-client.c          |  40 +-
 samples/net/echo_server/prj_arduino_101.conf       |   4 +
 samples/net/echo_server/src/echo-server.c          |  37 +-
 samples/net/wpan_serial/prj.conf                   |   1 +
 samples/net/wpan_serial/src/main.c                 |   2 +-
 samples/net/wpanusb/prj.conf                       |   2 +-
 samples/net/wpanusb/src/Makefile                   |   4 -
 samples/net/wpanusb/src/wpanusb.c                  |   2 +-
 subsys/net/ip/Kconfig                              |   6 +-
 subsys/net/ip/Kconfig.rpl                          |  11 +-
 subsys/net/ip/icmpv4.c                             |  59 +-
 subsys/net/ip/icmpv4.h                             |  21 +-
 subsys/net/ip/ipv6.c                               | 102 ++-
 subsys/net/ip/ipv6.h                               |  20 +-
 subsys/net/ip/l2/Kconfig                           |  12 +-
 subsys/net/ip/l2/bluetooth.c                       |   3 +-
 subsys/net/ip/net_context.c                        |  93 ++-
 subsys/net/ip/net_core.c                           |  37 +-
 subsys/net/ip/net_if.c                             |  11 +-
 subsys/net/ip/net_shell.c                          | 673 +++++++++++++--
 subsys/net/ip/route.c                              |  71 ++
 subsys/net/ip/route.h                              |  25 +
 subsys/net/ip/rpl.c                                |  90 +-
 subsys/net/ip/tcp.c                                |   9 +-
 subsys/net/lib/dns/Kconfig                         |  80 +-
 subsys/net/lib/dns/Makefile                        |   4 +-
 subsys/net/lib/dns/resolve.c                       | 907 +++++++++++++++++++++
 subsys/net/lib/zoap/zoap_link_format.c             |  10 +-
 tests/net/lib/dns_resolve/Makefile                 |   4 +
 tests/net/lib/dns_resolve/prj.conf                 |  31 +
 tests/net/lib/dns_resolve/src/Makefile             |   7 +
 tests/net/lib/dns_resolve/src/main.c               | 656 +++++++++++++++
 tests/net/lib/dns_resolve/testcase.ini             |   6 +
 tests/net/rpl/src/main.c                           |   4 +-
 53 files changed, 3587 insertions(+), 405 deletions(-)
 create mode 100644 include/net/dns_resolve.h
 rename include/net/{offload_ip.h => net_offload.h} (84%)
 create mode 100644 samples/net/dns_resolve/Makefile
 create mode 100644 samples/net/dns_resolve/prj_qemu_x86.conf
 create mode 100644 samples/net/dns_resolve/src/Makefile
 create mode 100644 samples/net/dns_resolve/src/main.c
 create mode 100644 samples/net/dns_resolve/testcase.ini
 create mode 100644 samples/net/echo_client/prj_frdm_k64f.conf
 create mode 100644 samples/net/echo_client/prj_sam_e70_xplained.conf
 create mode 100644 subsys/net/lib/dns/resolve.c
 create mode 100644 tests/net/lib/dns_resolve/Makefile
 create mode 100644 tests/net/lib/dns_resolve/prj.conf
 create mode 100644 tests/net/lib/dns_resolve/src/Makefile
 create mode 100644 tests/net/lib/dns_resolve/src/main.c
 create mode 100644 tests/net/lib/dns_resolve/testcase.ini

Change-Id: I1bdd9f5d9893701a514160900357408a355fb2ce
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>