Commit 7ca983e6 authored by Oleg Zhurakivskyy's avatar Oleg Zhurakivskyy Committed by Jukka Rissanen
Browse files

net: tcp2: Add Kconfig and CMakeLists.txt entries



Add Kconfig and CMakeLists.txt entries.

Signed-off-by: default avatarOleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
parent fb9288bf
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -32,7 +32,9 @@ zephyr_library_sources_ifdef(CONFIG_NET_IPV6_MLD ipv6_mld.c)
zephyr_library_sources_ifdef(CONFIG_NET_IPV6_FRAGMENT     ipv6_fragment.c)
zephyr_library_sources_ifdef(CONFIG_NET_ROUTE        route.c)
zephyr_library_sources_ifdef(CONFIG_NET_STATISTICS   net_stats.c)
zephyr_library_sources_ifdef(CONFIG_NET_TCP          connection.c tcp.c)
zephyr_library_sources_ifdef(CONFIG_NET_TCP1         connection.c tcp.c)
zephyr_library_sources_ifdef(CONFIG_NET_TCP2         connection.c tcp2.c)
zephyr_library_sources_ifdef(CONFIG_NET_TEST_PROTOCOL           tp.c)
zephyr_library_sources_ifdef(CONFIG_NET_TRICKLE      trickle.c)
zephyr_library_sources_ifdef(CONFIG_NET_UDP          connection.c udp.c)
zephyr_library_sources_ifdef(CONFIG_NET_SOCKETS_PACKET  connection.c
+25 −0
Original line number Diff line number Diff line
@@ -352,6 +352,31 @@ config NET_TCP_RETRY_COUNT
	  Should a retransmission timeout occur, the receive callback is
	  called with -ECONNRESET error code and the context is dereferenced.

choice
	prompt "Select TCP stack"
	depends on NET_TCP
	default NET_TCP1
	help
	  Select the TCP stack implementation to use.

config NET_TCP1
	bool "Current stable TCP stack"
	help
	  The current TCP stack that has been in use since Zephyr 1.0.

config NET_TCP2
	bool "Experimental TCP stack"
	help
	  Enable experimental TCP which is under development.

endchoice

config NET_TEST_PROTOCOL
	bool "Enable JSON based test protocol (UDP)"
	default n
	help
	  Enable JSON based test protocol (UDP).

config NET_UDP
	bool "Enable UDP"
	default y