1# Generic networking options 2CONFIG_NETWORKING=y 3CONFIG_NET_UDP=y 4CONFIG_NET_TCP=y 5CONFIG_NET_IPV6=y 6CONFIG_NET_IPV4=y 7CONFIG_NET_SOCKETS=y 8CONFIG_ZVFS_POLL_MAX=5 9CONFIG_NET_CONNECTION_MANAGER=y 10 11CONFIG_POSIX_API=y 12 13# Kernel options 14CONFIG_MAIN_STACK_SIZE=2048 15CONFIG_ENTROPY_GENERATOR=y 16CONFIG_TEST_RANDOM_GENERATOR=y 17CONFIG_INIT_STACKS=y 18CONFIG_MAX_THREAD_BYTES=3 19 20# Logging 21CONFIG_NET_LOG=y 22CONFIG_LOG=y 23CONFIG_NET_STATISTICS=y 24CONFIG_PRINTK=y 25 26# Network buffers 27CONFIG_NET_PKT_RX_COUNT=16 28CONFIG_NET_PKT_TX_COUNT=16 29CONFIG_NET_BUF_RX_COUNT=80 30CONFIG_NET_BUF_TX_COUNT=80 31CONFIG_NET_CONTEXT_NET_PKT_POOL=y 32 33# IP address options 34CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=3 35CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=4 36CONFIG_NET_MAX_CONTEXTS=10 37CONFIG_NET_IF_MAX_IPV6_COUNT=3 38CONFIG_NET_IF_MAX_IPV4_COUNT=3 39 40# Network shell 41CONFIG_NET_SHELL=y 42 43# The addresses are selected so that qemu<->qemu connectivity works ok. 44# For linux<->qemu connectivity, create a new conf file and swap the 45# addresses (so that peer address is ending to 2). 46CONFIG_NET_CONFIG_SETTINGS=y 47CONFIG_NET_CONFIG_NEED_IPV6=y 48CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::2" 49CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::1" 50CONFIG_NET_CONFIG_NEED_IPV4=y 51CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.2" 52CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.1" 53CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 54