summaryrefslogtreecommitdiff
path: root/nuttx/net/tcp/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/tcp/tcp.h')
-rw-r--r--nuttx/net/tcp/tcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/net/tcp/tcp.h b/nuttx/net/tcp/tcp.h
index 9316408ad..f7afc6ff0 100644
--- a/nuttx/net/tcp/tcp.h
+++ b/nuttx/net/tcp/tcp.h
@@ -107,6 +107,9 @@ struct tcp_backlog_s; /* Forward reference */
struct tcp_conn_s
{
dq_entry_t node; /* Implements a doubly linked list */
+#ifdef CONFIG_NETDEV_MULTINIC
+ net_ipaddr_t lipaddr; /* The bound local IP address */
+#endif
net_ipaddr_t ripaddr; /* The IP address of the remote host */
uint8_t rcvseq[4]; /* The sequence number that we expect to
* receive next */