1# General config 2CONFIG_REQUIRES_FULL_LIBC=y 3 4# Networking config 5CONFIG_NETWORKING=y 6CONFIG_NET_TEST=y 7CONFIG_NET_DRIVERS=y 8CONFIG_NET_LOOPBACK=y 9CONFIG_NET_IPV4=y 10CONFIG_NET_IPV6=y 11CONFIG_NET_UDP=y 12CONFIG_NET_TCP=y 13CONFIG_NET_SOCKETS=y 14CONFIG_NET_L2_DUMMY=y 15CONFIG_NET_IPV6_DAD=n 16CONFIG_NET_IPV6_MLD=n 17CONFIG_NET_IPV6_ND=n 18CONFIG_NET_ARP=n 19 20CONFIG_NET_PKT_RX_COUNT=16 21CONFIG_NET_PKT_TX_COUNT=16 22CONFIG_NET_BUF_RX_COUNT=64 23CONFIG_NET_BUF_TX_COUNT=64 24 25CONFIG_NET_CONTEXT_REUSEADDR=y 26CONFIG_NET_CONTEXT_REUSEPORT=y 27 28CONFIG_NET_HOSTNAME_ENABLE=y 29CONFIG_NET_HOSTNAME="ztest_hostname" 30 31CONFIG_ZVFS_OPEN_MAX=8 32CONFIG_NET_MAX_CONN=10 33CONFIG_NET_MAX_CONTEXTS=10 34 35# Network driver config 36CONFIG_TEST_RANDOM_GENERATOR=y 37 38# Reduce the retry count, so the close always finishes within a second 39CONFIG_NET_TCP_RETRY_COUNT=3 40CONFIG_NET_TCP_INIT_RETRANSMISSION_TIMEOUT=120 41CONFIG_NET_TCP_TIME_WAIT_DELAY=200 42 43CONFIG_MAIN_STACK_SIZE=2048 44CONFIG_ZTEST=y 45CONFIG_ZTEST_STACK_SIZE=4096 46 47# User mode requirements 48CONFIG_TEST_USERSPACE=y 49CONFIG_HEAP_MEM_POOL_SIZE=8192 50 51# If you want to debug the tests, you can get logging using these statements 52# CONFIG_LOG=y 53# CONFIG_LOG_MODE_DEFERRED=y 54# CONFIG_NET_LOG=y 55# CONFIG_NET_TCP_LOG_LEVEL_DBG=y 56