mirror of
https://github.com/ipxe/ipxe
synced 2025-12-16 09:32:33 +03:00
[efi] Add the ability to create a temporary MNP network device
An MNP network device may be temporarily and non-destructively installed on top of an existing UEFI network stack without having to disconnect existing drivers. Add the ability to create such a temporary network device. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
20
src/include/ipxe/efi/mnpnet.h
Normal file
20
src/include/ipxe/efi/mnpnet.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef _IPXE_EFI_MNPNET_H
|
||||
#define _IPXE_EFI_MNPNET_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* MNP NIC driver
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
|
||||
struct efi_device;
|
||||
struct net_device;
|
||||
|
||||
extern int mnpnet_start ( struct efi_device *efidev );
|
||||
extern void mnpnet_stop ( struct efi_device *efidev );
|
||||
extern int mnptemp_create ( EFI_HANDLE handle, struct net_device **netdev );
|
||||
extern void mnptemp_destroy ( struct net_device *netdev );
|
||||
|
||||
#endif /* _IPXE_EFI_MNPNET_H */
|
||||
Reference in New Issue
Block a user