1CONFIG_REQUIRES_FULL_LIBC=y 2CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=65536 3 4# CONFIG_THRIFT Dependencies 5CONFIG_CPP=y 6CONFIG_STD_CPP17=y 7CONFIG_CPP_EXCEPTIONS=y 8CONFIG_GLIBCXX_LIBCPP=y 9CONFIG_POSIX_API=y 10CONFIG_XOPEN_STREAMS=y 11CONFIG_NETWORKING=y 12CONFIG_NET_TCP=y 13CONFIG_NET_SOCKETS=y 14CONFIG_NET_SOCKETPAIR=y 15CONFIG_HEAP_MEM_POOL_SIZE=16384 16CONFIG_EVENTFD=y 17 18CONFIG_THRIFT=y 19 20# Test dependencies 21CONFIG_ZTEST=y 22CONFIG_TEST_RANDOM_GENERATOR=y 23CONFIG_NET_TEST=y 24CONFIG_NET_DRIVERS=y 25CONFIG_NET_LOOPBACK=y 26CONFIG_NET_TCP_TIME_WAIT_DELAY=100 27 28# Some platforms require relatively large stack sizes. 29# This can be tuned per-board. 30CONFIG_ZTEST_STACK_SIZE=8192 31CONFIG_MAIN_STACK_SIZE=4096 32CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=8192 33CONFIG_THRIFTTEST_SERVER_STACK_SIZE=8192 34CONFIG_NET_TCP_WORKQ_STACK_SIZE=4096 35CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096 36CONFIG_IDLE_STACK_SIZE=4096 37CONFIG_NET_RX_STACK_SIZE=8192 38 39CONFIG_NET_BUF_TX_COUNT=20 40CONFIG_NET_PKT_TX_COUNT=20 41CONFIG_NET_BUF_RX_COUNT=20 42CONFIG_NET_PKT_RX_COUNT=20 43 44# We can get away with using fewer sockets in the non-TLS tests because we use 45# TFDServer.cpp for our server and socketpair() for our channel. We do not 46# need an accept socket for the server (in contrast to TCP), it only needs 1 47# eventfd for server cancellation, and there are no cancellation sockets 48# required because we close them in the testsuite. 49# 50# File Descriptor Usage 51# --------------------- 52# stdin, stdout, stderr: 3 53# socketpair for channel: 2 54# eventfd for cancellation: 1 55CONFIG_ZVFS_OPEN_MAX=6 56 57# Network address config 58CONFIG_NET_IPV4=y 59CONFIG_NET_CONFIG_SETTINGS=y 60CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1" 61