net: Add Kconfig option for compiling IPv6 support

The native stack uses CONFIG_NET_IPV6 to compile IPv6 support.

Change-Id: I25c3b2d6775ed610fca43960a569ddab0ec470aa
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2016-05-09 14:27:43 +03:00
commit 5698d7e4d4
2 changed files with 8 additions and 1 deletions

View file

@ -94,7 +94,7 @@ config NETWORK_IP_STACK_DEBUG_IPV6_DS
config NETWORK_IP_STACK_DEBUG_IPV6_ICMPV6
bool "Debug ICMPv6"
depends on NETWORKING_WITH_IPV6
depends on NETWORKING_WITH_IPV6 || NET_IPV6
default n
help
Enables ICMPv6 code part to output debug messages

View file

@ -20,6 +20,13 @@ config NET_YAIP_INIT_PRIO
int
default 99
config NET_IPV6
bool "Enable IPv6"
default y
help
Enable IPv6 support. This should be selected by default as there is
limited set of network bearers provided that support IPv4.
config NET_IFACE_UNICAST_IPV6_ADDR_COUNT
int "Max number of unicast IPv6 addresses assigned to network interface"
default 1