summaryrefslogtreecommitdiff
path: root/nuttx/net/tcp/tcp_send_unbuffered.c
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_send_unbuffered.c
parent61d1e30028f08cacd7cd81dc66ce736e39c6620b (diff)
downloadnuttx-0f6f5040d16fe89889179941f6ee0ea3762b0eb3.tar.gz
nuttx-0f6f5040d16fe89889179941f6ee0ea3762b0eb3.tar.bz2
nuttx-0f6f5040d16fe89889179941f6ee0ea3762b0eb3.zip
Rename many functions in net/devif from uip_* to devif_*
Diffstat (limited to 'nuttx/net/tcp/tcp_send_unbuffered.c')
-rw-r--r--nuttx/net/tcp/tcp_send_unbuffered.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/net/tcp/tcp_send_unbuffered.c b/nuttx/net/tcp/tcp_send_unbuffered.c
index 7338921be..8ea48b60c 100644
--- a/nuttx/net/tcp/tcp_send_unbuffered.c
+++ b/nuttx/net/tcp/tcp_send_unbuffered.c
@@ -376,7 +376,7 @@ static uint16_t tcpsend_interrupt(FAR struct net_driver_s *dev,
* happen until the polling cycle completes).
*/
- uip_send(dev, &pstate->snd_buffer[pstate->snd_sent], sndlen);
+ devif_send(dev, &pstate->snd_buffer[pstate->snd_sent], sndlen);
/* Check if the destination IP address is in the ARP table. If not,
* then the send won't actually make it out... it will be replaced with
@@ -550,7 +550,7 @@ ssize_t psock_tcp_send(FAR struct socket *psock,
/* Allocate resources to receive a callback */
- state.snd_cb = tcp_callbackalloc(conn);
+ state.snd_cb = tcp_callback_alloc(conn);
if (state.snd_cb)
{
/* Get the initial sequence number that will be used */
@@ -588,7 +588,7 @@ ssize_t psock_tcp_send(FAR struct socket *psock,
/* Make sure that no further interrupts are processed */
- tcp_callbackfree(conn, state.snd_cb);
+ tcp_callback_free(conn, state.snd_cb);
}
}