net/netdev: move netdev_ifup/down to public header

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2022-07-02 23:32:59 +08:00 committed by Xiang Xiao
parent 5048be1bfe
commit 58dcee641e
2 changed files with 11 additions and 11 deletions

View File

@ -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
*

View File

@ -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
*