diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-06-25 10:34:52 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-06-25 10:34:52 -0600 |
commit | 86a37059e98e46294dff804ed9265bfc112d675b (patch) | |
tree | 629492c7c7af23a999bda24e9fdcde75e04ea4cb /nuttx/net/tcp/tcp_send_unbuffered.c | |
parent | f1994c5a179ba323f3dc29de7bc4cbaadeb4a831 (diff) | |
download | nuttx-86a37059e98e46294dff804ed9265bfc112d675b.tar.gz nuttx-86a37059e98e46294dff804ed9265bfc112d675b.tar.bz2 nuttx-86a37059e98e46294dff804ed9265bfc112d675b.zip |
Clean-up packet socket naming
Diffstat (limited to 'nuttx/net/tcp/tcp_send_unbuffered.c')
-rw-r--r-- | nuttx/net/tcp/tcp_send_unbuffered.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nuttx/net/tcp/tcp_send_unbuffered.c b/nuttx/net/tcp/tcp_send_unbuffered.c index c0c9568e8..9feee3b62 100644 --- a/nuttx/net/tcp/tcp_send_unbuffered.c +++ b/nuttx/net/tcp/tcp_send_unbuffered.c @@ -57,6 +57,7 @@ #include "net.h" #include "uip/uip.h" +#include "tcp/tcp.h" /**************************************************************************** * Pre-processor Definitions @@ -443,10 +444,10 @@ end_wait: ****************************************************************************/ /**************************************************************************** - * Function: tcp_send + * Function: psock_tcp_send * * Description: - * The tcp_send() call may be used only when the TCP socket is in a + * psock_tcp_send() call may be used only when the TCP socket is in a * connected state (so that the intended recipient is known). * * Parameters: @@ -499,7 +500,8 @@ end_wait: * ****************************************************************************/ -ssize_t tcp_send(FAR struct socket *psock, FAR const void *buf, size_t len) +ssize_t psock_tcp_send(FAR struct socket *psock, + FAR const void *buf, size_t len) { struct send_s state; uip_lock_t save; |