1# Copyright (c) 2018 Intel Corporation. 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig NET_L2_IPIP 5 bool "IP-to-IP tunneling support" 6 depends on NET_L2_VIRTUAL 7 help 8 Add a IP-to-IP tunnel driver. If this is enabled, then a network 9 interface will be created that will tunnel traffic on top of 10 existing network interface. Application needs to attach the IPIP 11 driver at runtime to correct network interface. 12 Also application needs to setup IP addresses etc. to the IP-to-IP 13 network interface. 14 15if NET_L2_IPIP 16 17config NET_L2_IPIP_TUNNEL_COUNT 18 int "Max number of IPIP tunnels" 19 default 1 20 help 21 Tells how many IPIP tunnels are supported. 22 23module = NET_L2_IPIP 24module-dep = NET_LOG 25module-str = Log level for IP-to-IP tunnel 26module-help = Enables IP-to-IP driver to output debug messages. 27source "subsys/net/Kconfig.template.log_config.net" 28 29config NET_L2_IPIP_TXRX_DEBUG 30 bool "Debug received and sent packets" 31 depends on NET_L2_IPIP_LOG_LEVEL_DBG 32 help 33 Enables printing of received and sent network packets. 34 This can produce lot of output so it is disabled by default. 35 36endif # NET_L2_IPIP 37