1# Generic networking options
2CONFIG_NETWORKING=y
3CONFIG_NET_UDP=y
4CONFIG_NET_TCP=n
5CONFIG_NET_IPV6=y
6CONFIG_NET_IPV4=y
7CONFIG_NET_SOCKETS=y
8CONFIG_POSIX_API=y
9CONFIG_NET_CONTEXT_PRIORITY=y
10CONFIG_NET_CONTEXT_TXTIME=y
11CONFIG_NET_TC_TX_COUNT=7
12CONFIG_NET_TC_RX_COUNT=7
13CONFIG_NET_STATISTICS=y
14CONFIG_NET_PKT_TXTIME=y
15CONFIG_NET_PKT_RXTIME_STATS=y
16CONFIG_NET_PKT_TXTIME_STATS=y
17CONFIG_NET_PKT_RXTIME_STATS_DETAIL=y
18CONFIG_NET_PKT_TXTIME_STATS_DETAIL=y
19CONFIG_PTP_CLOCK=y
20CONFIG_NET_CONNECTION_MANAGER=y
21CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=3
22CONFIG_NET_L2_ETHERNET_MGMT=y
23CONFIG_NET_L2_ETHERNET=y
24CONFIG_NET_IF_MAX_IPV6_COUNT=3
25CONFIG_NET_IF_MAX_IPV4_COUNT=3
26
27# If you want to have VLAN support, use VLAN overlay file
28
29# Kernel options
30CONFIG_ENTROPY_GENERATOR=y
31CONFIG_INIT_STACKS=y
32CONFIG_MAIN_STACK_SIZE=2048
33
34# Network buffers
35CONFIG_NET_PKT_RX_COUNT=16
36CONFIG_NET_PKT_TX_COUNT=16
37CONFIG_NET_BUF_RX_COUNT=64
38CONFIG_NET_BUF_TX_COUNT=64
39#CONFIG_NET_DEBUG_NET_PKT_ALLOC=y
40#CONFIG_NET_BUF_POOL_USAGE=y
41
42# Network shell
43CONFIG_NET_SHELL=y
44
45# Logging
46CONFIG_LOG=y
47CONFIG_NET_LOG=y
48
49# Network application options and configuration
50CONFIG_NET_CONFIG_SETTINGS=y
51CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
52CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
53CONFIG_NET_CONFIG_MY_IPV4_NETMASK="255.255.255.0"
54CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.1"
55
56# Where should the application send packets
57CONFIG_NET_SAMPLE_PEER="[2001:db8::2]:4242"
58#CONFIG_NET_SAMPLE_PEER="192.0.2.2:4242"
59
60# How often we should send a packet
61CONFIG_NET_SAMPLE_PACKET_INTERVAL=10
62
63# Some useful debugging options
64#CONFIG_NET_SOCKETS_LOG_LEVEL_DBG=y
65#CONFIG_NET_CONTEXT_LOG_LEVEL_DBG=y
66