iPXE
ifmgmt.h
Go to the documentation of this file.
1#ifndef _USR_IFMGMT_H
2#define _USR_IFMGMT_H
3
4/** @file
5 *
6 * Network interface management
7 *
8 */
9
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13struct net_device;
15
16extern int ifopen ( struct net_device *netdev );
17extern int ifconf ( struct net_device *netdev,
18 struct net_device_configurator *configurator,
19 unsigned long timeout );
20extern void ifclose ( struct net_device *netdev );
21extern void ifstat ( struct net_device *netdev );
22extern int iflinkwait ( struct net_device *netdev, unsigned long timeout,
23 int verbose );
24
25#endif /* _USR_IFMGMT_H */
void timeout(int)
static struct net_device * netdev
Definition gdbudp.c:53
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
int ifopen(struct net_device *netdev)
Open network device.
Definition ifmgmt.c:66
int ifconf(struct net_device *netdev, struct net_device_configurator *configurator, unsigned long timeout)
Perform network device configuration.
Definition ifmgmt.c:275
void ifclose(struct net_device *netdev)
Close network device.
Definition ifmgmt.c:83
int iflinkwait(struct net_device *netdev, unsigned long timeout, int verbose)
Wait for link-up, with status indication.
Definition ifmgmt.c:220
void ifstat(struct net_device *netdev)
Print status of network device.
Definition ifmgmt.c:111
A network device configurator.
Definition netdevice.h:314
A network device.
Definition netdevice.h:353