iPXE
mnpnet.h
Go to the documentation of this file.
1 #ifndef _IPXE_EFI_MNPNET_H
2 #define _IPXE_EFI_MNPNET_H
3 
4 /** @file
5  *
6  * MNP NIC driver
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 FILE_SECBOOT ( PERMITTED );
12 
13 struct efi_device;
14 struct net_device;
15 
16 extern int mnpnet_start ( struct efi_device *efidev );
17 extern void mnpnet_stop ( struct efi_device *efidev );
18 extern int mnptemp_create ( EFI_HANDLE handle, struct net_device **netdev );
19 extern void mnptemp_destroy ( struct net_device *netdev );
20 
21 #endif /* _IPXE_EFI_MNPNET_H */
void mnpnet_stop(struct efi_device *efidev)
Detach driver from device.
Definition: mnpnet.c:475
int mnpnet_start(struct efi_device *efidev)
Attach driver to device.
Definition: mnpnet.c:370
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
static struct net_device * netdev
Definition: gdbudp.c:52
FILE_SECBOOT(PERMITTED)
A network device.
Definition: netdevice.h:353
An EFI device.
Definition: efi_driver.h:18
int mnptemp_create(EFI_HANDLE handle, struct net_device **netdev)
Create temporary MNP network device.
Definition: mnpnet.c:504
void mnptemp_destroy(struct net_device *netdev)
Destroy temporary MNP network device.
Definition: mnpnet.c:541
uint16_t handle
Handle.
Definition: smbios.h:17
Definition: efi.h:62