summaryrefslogtreecommitdiff
path: root/nuttx/net/tcp/tcp.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-22 10:46:37 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-22 10:46:37 -0600
commit55809f0442612438a3d60f01b0c18315bf38e255 (patch)
treecc59bc47a0ee0f123d111e5b51946deae1e268e5 /nuttx/net/tcp/tcp.h
parent18cee50571a01fabf6951d3a412ec782ef3b192d (diff)
downloadpx4-nuttx-55809f0442612438a3d60f01b0c18315bf38e255.tar.gz
px4-nuttx-55809f0442612438a3d60f01b0c18315bf38e255.tar.bz2
px4-nuttx-55809f0442612438a3d60f01b0c18315bf38e255.zip
Extensions to ECP conneciton structure for the case of multiple networks. See additional comments regarding the similar change for UDP
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 */