sim_usbdev: modify some configuration options for network test

add default dns server
change eth_pktsize to 1518

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
zhanghongyu 2023-03-29 20:11:30 +08:00 committed by Xiang Xiao
parent 9326687b51
commit e56c8571dc

View File

@ -42,17 +42,21 @@ CONFIG_FS_TMPFS=y
CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_LIBC_DLFCN=y CONFIG_LIBC_DLFCN=y
CONFIG_LIBUV=y CONFIG_LIBUV=y
CONFIG_NETDB_DNSCLIENT=y
CONFIG_NETDB_DNSCLIENT_MAXRESPONSE=1024
CONFIG_NETDB_DNSSERVER_IPv4ADDR=0xDF050505
CONFIG_NETUTILS_DHCPD=y CONFIG_NETUTILS_DHCPD=y
CONFIG_NETUTILS_IPERF=y
CONFIG_NETUTILS_TELNETC=y CONFIG_NETUTILS_TELNETC=y
CONFIG_NETUTILS_TELNETD=y CONFIG_NETUTILS_TELNETD=y
CONFIG_NET_BROADCAST=y CONFIG_NET_BROADCAST=y
CONFIG_NET_CDCECM=y CONFIG_NET_CDCECM=y
CONFIG_NET_ETH_PKTSIZE=1518
CONFIG_NET_ICMP=y CONFIG_NET_ICMP=y
CONFIG_NET_ICMP_SOCKET=y CONFIG_NET_ICMP_SOCKET=y
CONFIG_NET_IPFORWARD=y CONFIG_NET_IPFORWARD=y
CONFIG_NET_LL_GUARDSIZE=50 CONFIG_NET_LL_GUARDSIZE=50
CONFIG_NET_NAT=y CONFIG_NET_NAT=y
CONFIG_NET_SOCKOPTS=y
CONFIG_NET_TCP=y CONFIG_NET_TCP=y
CONFIG_NET_UDP=y CONFIG_NET_UDP=y
CONFIG_NSH_ARCHINIT=y CONFIG_NSH_ARCHINIT=y