mirror of
https://github.com/apache/nuttx.git
synced 2026-08-07 21:47:17 +00:00
net/netdev: move netdev_ifup/down to public header
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
5048be1bfe
commit
58dcee641e
2 changed files with 11 additions and 11 deletions
|
|
@ -592,6 +592,17 @@ void neighbor_out(FAR struct net_driver_s *dev);
|
|||
|
||||
int devif_loopback(FAR struct net_driver_s *dev);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: netdev_ifup / netdev_ifdown
|
||||
*
|
||||
* Description:
|
||||
* Bring the interface up/down
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void netdev_ifup(FAR struct net_driver_s *dev);
|
||||
void netdev_ifdown(FAR struct net_driver_s *dev);
|
||||
|
||||
/****************************************************************************
|
||||
* Carrier detection
|
||||
*
|
||||
|
|
|
|||
|
|
@ -90,17 +90,6 @@ typedef int (*netdev_callback_t)(FAR struct net_driver_s *dev,
|
|||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: netdev_ifup / netdev_ifdown
|
||||
*
|
||||
* Description:
|
||||
* Bring the interface up/down
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void netdev_ifup(FAR struct net_driver_s *dev);
|
||||
void netdev_ifdown(FAR struct net_driver_s *dev);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: netdev_verify
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue