2016-06-14 15:03:38 +08:00
|
|
|
CONFIG_NETWORKING=y
|
2017-07-26 20:45:13 +08:00
|
|
|
CONFIG_NET_TEST=y
|
2016-06-14 15:03:38 +08:00
|
|
|
CONFIG_NET_L2_DUMMY=y
|
|
|
|
CONFIG_NET_UDP=y
|
2017-06-30 22:46:01 +08:00
|
|
|
CONFIG_NET_TCP=n
|
2016-06-14 15:03:38 +08:00
|
|
|
CONFIG_NET_MAX_CONN=64
|
|
|
|
CONFIG_NET_CONN_CACHE=y
|
|
|
|
CONFIG_NET_IPV6=y
|
|
|
|
CONFIG_NET_IPV4=y
|
|
|
|
CONFIG_NET_BUF=y
|
2017-08-09 14:07:09 +08:00
|
|
|
CONFIG_ZTEST_STACKSIZE=2048
|
2017-04-03 23:14:35 +08:00
|
|
|
CONFIG_NET_PKT_RX_COUNT=5
|
|
|
|
CONFIG_NET_PKT_TX_COUNT=5
|
|
|
|
CONFIG_NET_BUF_RX_COUNT=10
|
|
|
|
CONFIG_NET_BUF_TX_COUNT=10
|
2016-06-14 15:03:38 +08:00
|
|
|
CONFIG_NET_LOG=y
|
|
|
|
CONFIG_SYS_LOG_SHOW_COLOR=y
|
2016-11-29 04:39:43 +08:00
|
|
|
CONFIG_RANDOM_GENERATOR=y
|
2016-06-14 15:03:38 +08:00
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
2017-06-30 20:29:33 +08:00
|
|
|
CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=2
|
|
|
|
CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT=2
|
2016-08-24 17:58:29 +08:00
|
|
|
CONFIG_NET_DEBUG_CORE=y
|
|
|
|
CONFIG_NET_DEBUG_CONN=y
|
2017-04-03 23:14:35 +08:00
|
|
|
#CONFIG_NET_DEBUG_NET_PKT=y
|
2016-08-24 17:58:29 +08:00
|
|
|
#CONFIG_NET_DEBUG_IF=y
|
2017-06-30 22:46:01 +08:00
|
|
|
CONFIG_SYS_LOG_NET_LEVEL=2
|
2017-05-17 15:43:18 +08:00
|
|
|
|
|
|
|
# Turn off UDP checksum checking as the test fails otherwise.
|
|
|
|
CONFIG_NET_UDP_CHECKSUM=n
|
2017-08-09 14:07:09 +08:00
|
|
|
CONFIG_ZTEST=y
|