[ipoib] Simplify test for received broadcast packets
[ipxe.git] / src / include / usr / ifmgmt.h
1 #ifndef _USR_IFMGMT_H
2 #define _USR_IFMGMT_H
3
4 /** @file
5 *
6 * Network interface management
7 *
8 */
9
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11
12 struct net_device;
13 struct net_device_configurator;
14
15 extern int ifopen ( struct net_device *netdev );
16 extern int ifconf ( struct net_device *netdev,
17 struct net_device_configurator *configurator );
18 extern void ifclose ( struct net_device *netdev );
19 extern void ifstat ( struct net_device *netdev );
20 extern int iflinkwait ( struct net_device *netdev, unsigned long timeout );
21
22 #endif /* _USR_IFMGMT_H */