Rename uip_driver_s net_driver_s

This commit is contained in:
Gregory Nutt
2014-06-27 16:48:12 -06:00
parent 2f27c1ee5b
commit fce2a79abd
103 changed files with 565 additions and 564 deletions
+3 -3
View File
@@ -72,18 +72,18 @@ extern "C"
/* Defined in icmp_input.c **************************************************/
void icmp_input(FAR struct uip_driver_s *dev);
void icmp_input(FAR struct net_driver_s *dev);
/* Defined in icmp_poll.c ***************************************************/
#ifdef CONFIG_NET_ICMP_PING
void icmp_poll(FAR struct uip_driver_s *dev);
void icmp_poll(FAR struct net_driver_s *dev);
#endif /* CONFIG_NET_ICMP_PING */
/* Defined in icmp_send.c ***************************************************/
#ifdef CONFIG_NET_ICMP_PING
void icmp_send(FAR struct uip_driver_s *dev, FAR uip_ipaddr_t *destaddr);
void icmp_send(FAR struct net_driver_s *dev, FAR uip_ipaddr_t *destaddr);
#endif /* CONFIG_NET_ICMP_PING */
#undef EXTERN
+1 -1
View File
@@ -103,7 +103,7 @@ FAR struct uip_callback_s *g_echocallback = NULL;
*
****************************************************************************/
void icmp_input(FAR struct uip_driver_s *dev)
void icmp_input(FAR struct net_driver_s *dev)
{
FAR struct icmp_iphdr_s *picmp = ICMPBUF;
+1 -1
View File
@@ -152,7 +152,7 @@ static inline int ping_timeout(FAR struct icmp_ping_s *pstate)
*
****************************************************************************/
static uint16_t ping_interrupt(FAR struct uip_driver_s *dev, FAR void *conn,
static uint16_t ping_interrupt(FAR struct net_driver_s *dev, FAR void *conn,
FAR void *pvpriv, uint16_t flags)
{
FAR struct icmp_ping_s *pstate = (struct icmp_ping_s *)pvpriv;
+1 -1
View File
@@ -86,7 +86,7 @@
*
****************************************************************************/
void icmp_poll(FAR struct uip_driver_s *dev)
void icmp_poll(FAR struct net_driver_s *dev)
{
/* Setup for the application callback */
+1 -1
View File
@@ -89,7 +89,7 @@
*
****************************************************************************/
void icmp_send(FAR struct uip_driver_s *dev, FAR uip_ipaddr_t *destaddr)
void icmp_send(FAR struct net_driver_s *dev, FAR uip_ipaddr_t *destaddr)
{
FAR struct icmp_iphdr_s *picmp = ICMPBUF;