1# General config 2CONFIG_NEWLIB_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_SOCKETS_POSIX_NAMES=y 15CONFIG_NET_L2_DUMMY=y 16CONFIG_NET_IPV6_DAD=n 17CONFIG_NET_IPV6_MLD=n 18CONFIG_NET_IPV6_ND=n 19CONFIG_NET_ARP=n 20 21CONFIG_NET_HOSTNAME_ENABLE=y 22CONFIG_NET_HOSTNAME="ztest_hostname" 23 24# Network driver config 25CONFIG_TEST_RANDOM_GENERATOR=y 26 27CONFIG_NET_IF_MAX_IPV6_COUNT=3 28CONFIG_NET_IF_MAX_IPV4_COUNT=3 29 30CONFIG_MAIN_STACK_SIZE=2048 31CONFIG_ZTEST=y 32CONFIG_ZTEST_NEW_API=y 33 34# TCP handshake requires more packets 35CONFIG_NET_PKT_TX_COUNT=10 36 37# Lower the TIME_WAIT delay to speed up the test 38CONFIG_NET_TCP_TIME_WAIT_DELAY=100 39 40# User mode requirements 41CONFIG_TEST_USERSPACE=y 42CONFIG_HEAP_MEM_POOL_SIZE=128 43