net: Add Kconfig option for compiling IPv4 support

The native stack uses CONFIG_NET_IPV4 to compile IPv4 support.

Change-Id: Ia4a579591d6d2050e168c35e68546281043d53a8
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2016-05-09 15:02:53 +03:00
commit 073c41c824

View file

@ -30,6 +30,13 @@ config NET_IPV6
Enable IPv6 support. This should be selected by default as there is Enable IPv6 support. This should be selected by default as there is
limited set of network bearers provided that support IPv4. limited set of network bearers provided that support IPv4.
config NET_IPV4
bool "Enable IPv4"
default n
help
Enable IPv4 support. If this is enabled then the device is
able to send and receive IPv4 network packets.
config NET_IFACE_UNICAST_IPV6_ADDR_COUNT config NET_IFACE_UNICAST_IPV6_ADDR_COUNT
int "Max number of unicast IPv6 addresses assigned to network interface" int "Max number of unicast IPv6 addresses assigned to network interface"
default 1 default 1