summaryrefslogtreecommitdiff
path: root/nuttx/net/igmp/igmp_poll.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-25 09:52:36 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-25 09:52:36 -0600
commitc9165c6ab64da11033ddcb60e6dcbd72908be0bd (patch)
treef6f750e09c354373e7a4aba38868ff05787c5ca6 /nuttx/net/igmp/igmp_poll.c
parent06868e7c06d42f4c9043b624bdcf56f6d1348d8a (diff)
downloadpx4-nuttx-c9165c6ab64da11033ddcb60e6dcbd72908be0bd.tar.gz
px4-nuttx-c9165c6ab64da11033ddcb60e6dcbd72908be0bd.tar.bz2
px4-nuttx-c9165c6ab64da11033ddcb60e6dcbd72908be0bd.zip
Clean up IGMP naming
Diffstat (limited to 'nuttx/net/igmp/igmp_poll.c')
-rw-r--r--nuttx/net/igmp/igmp_poll.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/net/igmp/igmp_poll.c b/nuttx/net/igmp/igmp_poll.c
index 9f6f8f0a5..2b52349bc 100644
--- a/nuttx/net/igmp/igmp_poll.c
+++ b/nuttx/net/igmp/igmp_poll.c
@@ -51,6 +51,7 @@
#include <nuttx/net/netdev.h>
#include "uip/uip.h"
+#include "igmp/igmp.h"
#ifdef CONFIG_NET_IGMP
@@ -104,7 +105,7 @@ static inline void uip_schedsend(FAR struct uip_driver_s *dev, FAR struct igmp_g
/* Send the message */
- uip_igmpsend(dev, group, dest);
+ igmp_send(dev, group, dest);
/* Indicate that the message has been sent */
@@ -125,7 +126,7 @@ static inline void uip_schedsend(FAR struct uip_driver_s *dev, FAR struct igmp_g
****************************************************************************/
/****************************************************************************
- * Name: uip_igmppoll
+ * Name: igmp_poll
*
* Description:
* Poll the groups associated with the device to see if any IGMP messages
@@ -140,7 +141,7 @@ static inline void uip_schedsend(FAR struct uip_driver_s *dev, FAR struct igmp_g
*
****************************************************************************/
-void uip_igmppoll(FAR struct uip_driver_s *dev)
+void igmp_poll(FAR struct uip_driver_s *dev)
{
FAR struct igmp_group_s *group;