summaryrefslogtreecommitdiff
path: root/nuttx/net/tcp
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-29 12:59:34 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-29 12:59:34 -0600
commit9b96b0fcb20eea5c4cb1a8958e6adc7606414dff (patch)
tree9da7cdd974cda208ec6495bcc577ac191f55d73b /nuttx/net/tcp
parent5c4d51bb64d37019f2991fe2cc7615b5f64faf80 (diff)
downloadnuttx-9b96b0fcb20eea5c4cb1a8958e6adc7606414dff.tar.gz
nuttx-9b96b0fcb20eea5c4cb1a8958e6adc7606414dff.tar.bz2
nuttx-9b96b0fcb20eea5c4cb1a8958e6adc7606414dff.zip
NET: Rename uip_callback_s to devif_callback_s
Diffstat (limited to 'nuttx/net/tcp')
-rw-r--r--nuttx/net/tcp/tcp_conn.c4
-rw-r--r--nuttx/net/tcp/tcp_send_unbuffered.c20
2 files changed, 12 insertions, 12 deletions
diff --git a/nuttx/net/tcp/tcp_conn.c b/nuttx/net/tcp/tcp_conn.c
index 8f7951a25..235af87d5 100644
--- a/nuttx/net/tcp/tcp_conn.c
+++ b/nuttx/net/tcp/tcp_conn.c
@@ -316,8 +316,8 @@ FAR struct tcp_conn_s *tcp_alloc(void)
void tcp_free(FAR struct tcp_conn_s *conn)
{
- FAR struct uip_callback_s *cb;
- FAR struct uip_callback_s *next;
+ FAR struct devif_callback_s *cb;
+ FAR struct devif_callback_s *next;
#ifdef CONFIG_NET_TCP_WRITE_BUFFERS
FAR struct tcp_wrbuffer_s *wrbuffer;
#endif
diff --git a/nuttx/net/tcp/tcp_send_unbuffered.c b/nuttx/net/tcp/tcp_send_unbuffered.c
index 8ea48b60c..2b2a6e16f 100644
--- a/nuttx/net/tcp/tcp_send_unbuffered.c
+++ b/nuttx/net/tcp/tcp_send_unbuffered.c
@@ -81,19 +81,19 @@
struct send_s
{
- FAR struct socket *snd_sock; /* Points to the parent socket structure */
- FAR struct uip_callback_s *snd_cb; /* Reference to callback instance */
- sem_t snd_sem; /* Used to wake up the waiting thread */
- FAR const uint8_t *snd_buffer; /* Points to the buffer of data to send */
- size_t snd_buflen; /* Number of bytes in the buffer to send */
- ssize_t snd_sent; /* The number of bytes sent */
- uint32_t snd_isn; /* Initial sequence number */
- uint32_t snd_acked; /* The number of bytes acked */
+ FAR struct socket *snd_sock; /* Points to the parent socket structure */
+ FAR struct devif_callback_s *snd_cb; /* Reference to callback instance */
+ sem_t snd_sem; /* Used to wake up the waiting thread */
+ FAR const uint8_t *snd_buffer; /* Points to the buffer of data to send */
+ size_t snd_buflen; /* Number of bytes in the buffer to send */
+ ssize_t snd_sent; /* The number of bytes sent */
+ uint32_t snd_isn; /* Initial sequence number */
+ uint32_t snd_acked; /* The number of bytes acked */
#if defined(CONFIG_NET_SOCKOPTS) && !defined(CONFIG_DISABLE_CLOCK)
- uint32_t snd_time; /* Last send time for determining timeout */
+ uint32_t snd_time; /* Last send time for determining timeout */
#endif
#if defined(CONFIG_NET_TCP_SPLIT)
- bool snd_odd; /* True: Odd packet in pair transaction */
+ bool snd_odd; /* True: Odd packet in pair transaction */
#endif
};