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:
Tomasz Bursztyka 2021-11-10 14:39:42 +01:00 committed by Christopher Friedt
commit 32db35a721
19 changed files with 38 additions and 43 deletions

View file

@ -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)
/**

View file

@ -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