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
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13struct efi_device;
14struct net_device;
15
16extern int mnpnet_start ( struct efi_device *efidev );
17extern void mnpnet_stop ( struct efi_device *efidev );
18extern int mnptemp_create ( EFI_HANDLE handle, struct net_device **netdev );
19extern void mnptemp_destroy ( struct net_device *netdev );
20
21#endif /* _IPXE_EFI_MNPNET_H */
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
#define EFI_HANDLE
Definition efi.h:53
uint16_t handle
Handle.
Definition smbios.h:5
void mnptemp_destroy(struct net_device *netdev)
Destroy temporary MNP network device.
Definition mnpnet.c:541
int mnpnet_start(struct efi_device *efidev)
Attach driver to device.
Definition mnpnet.c:370
int mnptemp_create(EFI_HANDLE handle, struct net_device **netdev)
Create temporary MNP network device.
Definition mnpnet.c:504
void mnpnet_stop(struct efi_device *efidev)
Detach driver from device.
Definition mnpnet.c:475
An EFI device.
Definition efi_driver.h:18
A network device.
Definition netdevice.h:353