summaryrefslogtreecommitdiff
path: root/nuttx/net/pkt/pkt_send.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-16 12:30:18 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-16 12:30:18 -0600
commit80ea43c7c968cd7f9617ab8a69892b4214e6664c (patch)
tree0fd0ccd53493c12a7cd79a322e48680763715228 /nuttx/net/pkt/pkt_send.c
parent9d7bd7674895cf2d6f21501396f6945a14231e7b (diff)
downloadpx4-nuttx-80ea43c7c968cd7f9617ab8a69892b4214e6664c.tar.gz
px4-nuttx-80ea43c7c968cd7f9617ab8a69892b4214e6664c.tar.bz2
px4-nuttx-80ea43c7c968cd7f9617ab8a69892b4214e6664c.zip
Networking: Replace all references to net_ipaddr_t with either in_addr_t on net_ipv6addr_t. The goal is to support both IPv4 and IPv6 simultaneously. This requires that the two types be distinct and not conditionally typedef'ed to net_ipaddr_t.
Diffstat (limited to 'nuttx/net/pkt/pkt_send.c')
-rw-r--r--nuttx/net/pkt/pkt_send.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/net/pkt/pkt_send.c b/nuttx/net/pkt/pkt_send.c
index c136c45a1..5c352e850 100644
--- a/nuttx/net/pkt/pkt_send.c
+++ b/nuttx/net/pkt/pkt_send.c
@@ -267,14 +267,14 @@ ssize_t psock_pkt_send(FAR struct socket *psock, FAR const void *buf,
dev = netdev_findbyname("eth0");
/* Notify the device driver that new TX data is available.
- * NOTES: This is in essence what netdev_txnotify() does, which
- * is not possible to call since it expects a net_ipaddr_t as
+ * NOTES: This is in essence what netdev_ipv4_txnotify() does,
+ * which is not possible to call since it expects a in_addr_t as
* its single argument to lookup the network interface.
*/
dev->d_txavail(dev);
- /* Wait for the send to complete or an error to occure: NOTES: (1)
+ /* Wait for the send to complete or an error to occur: NOTES: (1)
* net_lockedwait will also terminate if a signal is received, (2)
* interrupts may be disabled! They will be re-enabled while the
* task sleeps and automatically re-enabled when the task restarts.