net: context: Add an opaque handle for TCP2
Add an opaque handle for TCP2. Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
This commit is contained in:
parent
32040ce4df
commit
9666f2201e
1 changed files with 7 additions and 2 deletions
|
@ -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)
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue