esp-idf/examples/common_components/protocol_examples_tapif_io/Kconfig.projbuild

60 lines
1.9 KiB
Plaintext
Raw Normal View History

menu "Example Connection Configuration"
config EXAMPLE_CONNECT_LWIP_TAPIF
bool "connect using lwip to linux tap interface"
depends on IDF_TARGET_LINUX && ESP_NETIF_TCPIP_LWIP
default n
if EXAMPLE_CONNECT_LWIP_TAPIF
2022-10-03 11:28:01 -04:00
config EXAMPLE_CONNECT_IPV4
bool
depends on LWIP_IPV4
default y
config EXAMPLE_CONNECT_IPV6
bool "Obtain IPv6 address"
depends on LWIP_IPV6
default y
help
Set to true to setup link local address and wait until it's valid
config EXAMPLE_CONNECT_TAPIF_IP_ADDR
string "Static IP address"
default "192.168.5.100"
2022-10-03 11:28:01 -04:00
depends on EXAMPLE_CONNECT_IPV4
help
Set static IP address.
config EXAMPLE_CONNECT_TAPIF_NETMASK
string "Static netmask address"
default "255.255.255.0"
2022-10-03 11:28:01 -04:00
depends on EXAMPLE_CONNECT_IPV4
help
Set static netmask address.
config EXAMPLE_CONNECT_TAPIF_GW
string "Static gateway address"
default "192.168.5.1"
2022-10-03 11:28:01 -04:00
depends on EXAMPLE_CONNECT_IPV4
help
Set static gateway address.
config EXAMPLE_CONNECT_TAPIF_OUT_LOSS
int "Percentage of packets to be dropped on transmission"
default 0
range 0 100
help
Set non-zero number simulate packet loss when sending data.
Number represents probability between 0 and 100%
config EXAMPLE_CONNECT_TAPIF_IN_LOSS
int "Percentage of packets to be dropped on reception"
default 0
range 0 100
help
Set non-zero number simulate packet loss when receiving data.
Number represents probability between 0 and 100%
endif
endmenu