Commit 9666f220 authored by Oleg Zhurakivskyy's avatar Oleg Zhurakivskyy Committed by Jukka Rissanen
Browse files

net: context: Add an opaque handle for TCP2



Add an opaque handle for TCP2.

Signed-off-by: default avatarOleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
parent 32040ce4
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -244,10 +244,15 @@ struct net_context {
	net_pkt_get_pool_func_t data_pool;
#endif /* CONFIG_NET_CONTEXT_NET_PKT_POOL */

#if defined(CONFIG_NET_TCP)
#if defined(CONFIG_NET_TCP1)
	/** TCP connection information */
	struct net_tcp *tcp;
#endif /* CONFIG_NET_TCP */
#endif /* CONFIG_NET_TCP1 */

#if defined(CONFIG_NET_TCP2)
	/** TCP connection information */
	void *tcp;
#endif /* CONFIG_NET_TCP2 */

#if defined(CONFIG_NET_CONTEXT_SYNC_RECV)
	/**