david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/include/usr/ifmgmt.h
Michael Brown 26b87b221b [ifmgmt] Add ifconf() to carry out network device configuration
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2013-11-05 17:30:20 +00:00

23 lines
538 B
C

#ifndef _USR_IFMGMT_H
#define _USR_IFMGMT_H
/** @file
*
* Network interface management
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
struct net_device;
struct net_device_configurator;
extern int ifopen ( struct net_device *netdev );
extern int ifconf ( struct net_device *netdev,
struct net_device_configurator *configurator );
extern void ifclose ( struct net_device *netdev );
extern void ifstat ( struct net_device *netdev );
extern int iflinkwait ( struct net_device *netdev, unsigned long timeout );
#endif /* _USR_IFMGMT_H */