diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-23 14:40:09 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-23 14:40:09 -0600 |
commit | fb69955e95d02e80182eccfdd50b5c75c96c19ca (patch) | |
tree | c87785127f1881e53ac2ee47fa520c3a62873868 /nuttx/net/devif | |
parent | 46c185f8b87589fb62add06ae3f9078de5b3c683 (diff) | |
download | px4-nuttx-fb69955e95d02e80182eccfdd50b5c75c96c19ca.tar.gz px4-nuttx-fb69955e95d02e80182eccfdd50b5c75c96c19ca.tar.bz2 px4-nuttx-fb69955e95d02e80182eccfdd50b5c75c96c19ca.zip |
Networking: Various bugfixes related to IPv6 ping
Diffstat (limited to 'nuttx/net/devif')
-rw-r--r-- | nuttx/net/devif/devif_poll.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/nuttx/net/devif/devif_poll.c b/nuttx/net/devif/devif_poll.c index 0418e1188..3070584b6 100644 --- a/nuttx/net/devif/devif_poll.c +++ b/nuttx/net/devif/devif_poll.c @@ -70,8 +70,8 @@ * Poll all packet connections for available packets to send. * * Assumptions: - * This function is called from the MAC device driver and may be called from - * the timer interrupt/watchdog handle level. + * This function is called from the MAC device driver and may be called + * from the timer interrupt/watchdog handle level. * ****************************************************************************/ @@ -150,8 +150,8 @@ static inline int devif_poll_icmpv6(FAR struct net_driver_s *dev, * Poll all IGMP connections for available packets to send. * * Assumptions: - * This function is called from the MAC device driver and may be called from - * the timer interrupt/watchdog handle level. + * This function is called from the MAC device driver and may be called + * from the timer interrupt/watchdog handle level. * ****************************************************************************/ @@ -251,8 +251,8 @@ static inline int devif_poll_tcp_connections(FAR struct net_driver_s *dev, * TCP connection. * * Assumptions: - * This function is called from the MAC device driver and may be called from - * the timer interrupt/watchdog handle level. + * This function is called from the MAC device driver and may be called + * from the timer interrupt/watchdog handle level. * ****************************************************************************/ @@ -430,7 +430,7 @@ int devif_timer(FAR struct net_driver_s *dev, devif_poll_callback_t callback, #endif #ifdef CONFIG_NET_IPv6 - /* Perform aging on the entries in the Neighbor Table */ + /* Perform ageing on the entries in the Neighbor Table */ neighbor_periodic(); #endif @@ -494,11 +494,11 @@ int devif_timer(FAR struct net_driver_s *dev, devif_poll_callback_t callback, if (!bstop) #endif -#if defined(CONFIG_NET_ICMP6) && defined(CONFIG_NET_ICMPv6_PING) +#if defined(CONFIG_NET_ICMPv6) && defined(CONFIG_NET_ICMPv6_PING) { /* Traverse all of the tasks waiting to send an ICMP ECHO request. */ - bstop = devif_poll_icmp6(dev, callback); + bstop = devif_poll_icmpv6(dev, callback); } if (!bstop) |