summaryrefslogtreecommitdiff
path: root/nuttx/net/socket/sendto.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/socket/sendto.c')
-rw-r--r--nuttx/net/socket/sendto.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/net/socket/sendto.c b/nuttx/net/socket/sendto.c
index 91e7ed544..e8f46afe8 100644
--- a/nuttx/net/socket/sendto.c
+++ b/nuttx/net/socket/sendto.c
@@ -87,14 +87,14 @@
struct sendto_s
{
#ifdef CONFIG_NET_SENDTO_TIMEOUT
- FAR struct socket *st_sock; /* Points to the parent socket structure */
- uint32_t st_time; /* Last send time for determining timeout */
+ FAR struct socket *st_sock; /* Points to the parent socket structure */
+ uint32_t st_time; /* Last send time for determining timeout */
#endif
- FAR struct uip_callback_s *st_cb; /* Reference to callback instance */
- sem_t st_sem; /* Semaphore signals sendto completion */
- uint16_t st_buflen; /* Length of send buffer (error if <0) */
- const char *st_buffer; /* Pointer to send buffer */
- int st_sndlen; /* Result of the send (length sent or negated errno) */
+ FAR struct devif_callback_s *st_cb; /* Reference to callback instance */
+ sem_t st_sem; /* Semaphore signals sendto completion */
+ uint16_t st_buflen; /* Length of send buffer (error if <0) */
+ const char *st_buffer; /* Pointer to send buffer */
+ int st_sndlen; /* Result of the send (length sent or negated errno) */
};
/****************************************************************************