2017-10-17 19:56:41 +08:00
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_NET_TEST=y
|
|
|
|
CONFIG_NET_IPV6=y
|
|
|
|
CONFIG_NET_IPV4=y
|
|
|
|
CONFIG_NET_UDP=y
|
|
|
|
CONFIG_NET_TCP=y
|
|
|
|
CONFIG_NET_DHCPV4=n
|
|
|
|
CONFIG_NET_MAX_CONTEXTS=10
|
|
|
|
CONFIG_NET_L2_DUMMY=y
|
|
|
|
CONFIG_NET_LOG=y
|
|
|
|
CONFIG_SYS_LOG_SHOW_COLOR=y
|
2017-10-14 07:30:55 +08:00
|
|
|
CONFIG_ENTROPY_GENERATOR=y
|
2017-10-17 19:56:41 +08:00
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
CONFIG_NET_IPV6_DAD=n
|
|
|
|
CONFIG_NET_IPV6_MLD=n
|
|
|
|
CONFIG_NET_IPV6_ND=n
|
|
|
|
CONFIG_NET_PKT_TX_COUNT=10
|
|
|
|
CONFIG_NET_PKT_RX_COUNT=10
|
|
|
|
CONFIG_NET_BUF_RX_COUNT=10
|
|
|
|
CONFIG_NET_BUF_TX_COUNT=10
|
|
|
|
CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT=3
|
|
|
|
CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=6
|
|
|
|
CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=6
|
|
|
|
CONFIG_NET_IPV6_MAX_NEIGHBORS=8
|
|
|
|
CONFIG_NET_APP=y
|
|
|
|
CONFIG_NET_APP_AUTO_INIT=n
|
|
|
|
CONFIG_NET_APP_SERVER=y
|
|
|
|
CONFIG_NET_APP_CLIENT=y
|
|
|
|
CONFIG_NET_APP_SETTINGS=y
|
|
|
|
CONFIG_NET_APP_MY_IPV6_ADDR="2001:db8::1"
|
|
|
|
CONFIG_NET_APP_MY_IPV4_ADDR="192.0.2.1"
|
|
|
|
CONFIG_ZTEST=y
|
|
|
|
|
|
|
|
CONFIG_DNS_RESOLVER=y
|
|
|
|
CONFIG_DNS_RESOLVER_MAX_SERVERS=4
|
2018-05-23 03:36:56 +08:00
|
|
|
CONFIG_DNS_NUM_CONCUR_QUERIES=1
|
2017-10-17 19:56:41 +08:00
|
|
|
CONFIG_DNS_SERVER_IP_ADDRESSES=y
|
|
|
|
CONFIG_DNS_SERVER1="192.0.2.2"
|
|
|
|
CONFIG_DNS_SERVER2="2001:db8::2"
|
|
|
|
CONFIG_DNS_SERVER3="192.0.2.2:5353"
|
|
|
|
CONFIG_DNS_SERVER4="[2001:db8::2]:5353"
|
|
|
|
|
|
|
|
#CONFIG_NET_DEBUG_DNS_RESOLVE=y
|
|
|
|
#CONFIG_NET_DEBUG_APP=y
|
|
|
|
#CONFIG_SYS_LOG_NET_LEVEL=4
|
|
|
|
#CONFIG_NET_SHELL=y
|