mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Be consistent... Use Name: consistent in function headers vs Function:
This commit is contained in:
@@ -135,7 +135,7 @@ static int lo_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac);
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: lo_txpoll
|
||||
* Name: lo_txpoll
|
||||
*
|
||||
* Description:
|
||||
* Check if the network has any outgoing packets ready to send. This is
|
||||
@@ -263,7 +263,7 @@ static int lo_txpoll(FAR struct net_driver_s *dev)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: lo_poll_work
|
||||
* Name: lo_poll_work
|
||||
*
|
||||
* Description:
|
||||
* Perform periodic polling from the worker thread
|
||||
@@ -306,7 +306,7 @@ static void lo_poll_work(FAR void *arg)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: lo_poll_expiry
|
||||
* Name: lo_poll_expiry
|
||||
*
|
||||
* Description:
|
||||
* Periodic timer handler. Called from the timer interrupt handler.
|
||||
@@ -338,7 +338,7 @@ static void lo_poll_expiry(int argc, wdparm_t arg, ...)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: lo_ifup
|
||||
* Name: lo_ifup
|
||||
*
|
||||
* Description:
|
||||
* NuttX Callback: Bring up the Ethernet interface when an IP address is
|
||||
@@ -386,7 +386,7 @@ static int lo_ifup(FAR struct net_driver_s *dev)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: lo_ifdown
|
||||
* Name: lo_ifdown
|
||||
*
|
||||
* Description:
|
||||
* NuttX Callback: Stop the interface.
|
||||
@@ -418,7 +418,7 @@ static int lo_ifdown(FAR struct net_driver_s *dev)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: lo_txavail_work
|
||||
* Name: lo_txavail_work
|
||||
*
|
||||
* Description:
|
||||
* Perform an out-of-cycle poll on the worker thread.
|
||||
@@ -459,7 +459,7 @@ static void lo_txavail_work(FAR void *arg)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: lo_txavail
|
||||
* Name: lo_txavail
|
||||
*
|
||||
* Description:
|
||||
* Driver callback invoked when new TX data is available. This is a
|
||||
@@ -499,7 +499,7 @@ static int lo_txavail(FAR struct net_driver_s *dev)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: lo_addmac
|
||||
* Name: lo_addmac
|
||||
*
|
||||
* Description:
|
||||
* NuttX Callback: Add the specified MAC address to the hardware multicast
|
||||
@@ -534,7 +534,7 @@ static int lo_addmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Function: lo_rmmac
|
||||
* Name: lo_rmmac
|
||||
*
|
||||
* Description:
|
||||
* NuttX Callback: Remove the specified MAC address from the hardware multicast
|
||||
@@ -573,7 +573,7 @@ static int lo_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: ieee8021514_loopback
|
||||
* Name: ieee8021514_loopback
|
||||
*
|
||||
* Description:
|
||||
* Initialize and register the Ieee802.15.4 MAC loopback network driver.
|
||||
|
||||
Reference in New Issue
Block a user