net/tcp: Rename TCP2 to TCP
TCP2 is no longer needed as it is the unique implementation since the legacy one has been removed. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
65c9d19d51
commit
32db35a721
19 changed files with 38 additions and 43 deletions
|
@ -252,10 +252,10 @@ __net_socket struct net_context {
|
|||
net_pkt_get_pool_func_t data_pool;
|
||||
#endif /* CONFIG_NET_CONTEXT_NET_PKT_POOL */
|
||||
|
||||
#if defined(CONFIG_NET_TCP2)
|
||||
#if defined(CONFIG_NET_TCP)
|
||||
/** TCP connection information */
|
||||
void *tcp;
|
||||
#endif /* CONFIG_NET_TCP2 */
|
||||
#endif /* CONFIG_NET_TCP */
|
||||
|
||||
#if defined(CONFIG_NET_CONTEXT_SYNC_RECV)
|
||||
/**
|
||||
|
|
|
@ -128,7 +128,7 @@ struct net_pkt {
|
|||
struct net_linkaddr lladdr_src;
|
||||
struct net_linkaddr lladdr_dst;
|
||||
|
||||
#if defined(CONFIG_NET_TCP2)
|
||||
#if defined(CONFIG_NET_TCP)
|
||||
/** Allow placing the packet into sys_slist_t */
|
||||
sys_snode_t next;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue