summaryrefslogtreecommitdiff
path: root/nuttx/net/tcp/tcp.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-22 18:53:18 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-22 18:53:18 -0600
commit6b6026feba4b5ce279197f18872927cdc56ce5a1 (patch)
tree51aaadf3337ff25f8b8c6d5405341d7b64ec1513 /nuttx/net/tcp/tcp.h
parentb38ddf0dd017cf9b9a837048ba1622269d402c33 (diff)
downloadpx4-nuttx-6b6026feba4b5ce279197f18872927cdc56ce5a1.tar.gz
px4-nuttx-6b6026feba4b5ce279197f18872927cdc56ce5a1.tar.bz2
px4-nuttx-6b6026feba4b5ce279197f18872927cdc56ce5a1.zip
TCP write buffering: Extend and fix some buffer dumping logic
Diffstat (limited to 'nuttx/net/tcp/tcp.h')
-rw-r--r--nuttx/net/tcp/tcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/net/tcp/tcp.h b/nuttx/net/tcp/tcp.h
index a18b78a6c..8da77d61f 100644
--- a/nuttx/net/tcp/tcp.h
+++ b/nuttx/net/tcp/tcp.h
@@ -120,7 +120,7 @@ void tcp_wrbuffer_release(FAR struct tcp_wrbuffer_s *wrb);
#endif /* CONFIG_NET_TCP_WRITE_BUFFERS */
/****************************************************************************
- * Function: tcp_writebuffer_dump
+ * Function: tcp_wrbuffer_dump
*
* Description:
* Dump the contents of a write buffer.
@@ -129,9 +129,9 @@ void tcp_wrbuffer_release(FAR struct tcp_wrbuffer_s *wrb);
#ifdef CONFIG_NET_TCP_WRITE_BUFFERS
#ifdef CONFIG_DEBUG
-void tcp_writebuffer_dump(FAR const char *msg, FAR struct tcp_wrbuffer_s *wrb);
+void tcp_wrbuffer_dump(FAR const char *msg, FAR struct tcp_wrbuffer_s *wrb);
#else
-# define tcp_writebuffer_dump(msg,wrb)
+# define tcp_wrbuffer_dump(msg,wrb)
#endif
#endif /* CONFIG_NET_TCP_WRITE_BUFFERS */