summaryrefslogtreecommitdiff
path: root/nuttx/net/tcp/tcp.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-28 18:36:09 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-28 18:36:09 -0600
commit0f6f5040d16fe89889179941f6ee0ea3762b0eb3 (patch)
treed8b1a6b01f2ef51dececea93ae8ea2d388079e78 /nuttx/net/tcp/tcp.h
parent61d1e30028f08cacd7cd81dc66ce736e39c6620b (diff)
downloadpx4-nuttx-0f6f5040d16fe89889179941f6ee0ea3762b0eb3.tar.gz
px4-nuttx-0f6f5040d16fe89889179941f6ee0ea3762b0eb3.tar.bz2
px4-nuttx-0f6f5040d16fe89889179941f6ee0ea3762b0eb3.zip
Rename many functions in net/devif from uip_* to devif_*
Diffstat (limited to 'nuttx/net/tcp/tcp.h')
-rw-r--r--nuttx/net/tcp/tcp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/net/tcp/tcp.h b/nuttx/net/tcp/tcp.h
index 3e4f193d4..90475b2b5 100644
--- a/nuttx/net/tcp/tcp.h
+++ b/nuttx/net/tcp/tcp.h
@@ -50,6 +50,11 @@
* Pre-processor Definitions
****************************************************************************/
+/* Allocate a new TCP data callback */
+
+#define tcp_callback_alloc(conn) devif_callback_alloc(&conn->list)
+#define tcp_callback_free(conn,cb) devif_callback_free(cb, &conn->list)
+
/****************************************************************************
* Public Type Definitions
****************************************************************************/