68 DBGC (
device,
"EFI %s has no SNP instance: %s\n",
78 DBGC (
device,
"EFI %s found autoboot link-layer address:\n",
82 DBGC (
device,
"EFI %s found autoboot VLAN %d\n",
89 DBGC (
device,
"EFI %s configured automatic VLAN %d\n",
EFI_BOOT_SERVICES * BootServices
A pointer to the EFI Boot Services Table.
struct arbelprm_rc_send_wqe rc
unsigned int efi_path_vlan(EFI_DEVICE_PATH_PROTOCOL *path)
Get VLAN tag from device path.
The EFI_SIMPLE_NETWORK_PROTOCOL protocol is used to initialize access to a network adapter.
#define EEFI(efirc)
Convert an EFI status code to an iPXE status code.
EFI_GUID efi_simple_network_protocol_guid
Simple network protocol GUID.
This protocol can be used on any device handle to obtain generic path/location information concerning...
EFI_CLOSE_PROTOCOL CloseProtocol
EFI_MAC_ADDRESS CurrentAddress
The current HW MAC address for the network interface.
void vlan_auto(const void *ll_addr, unsigned int tag)
Configure automatic VLAN device.
The EFI_SIMPLE_NETWORK_PROTOCOL provides services to initialize a network interface,...
#define EFI_OPEN_PROTOCOL_GET_PROTOCOL
const char * efi_handle_name(EFI_HANDLE handle)
Get name of an EFI handle.
char * strerror(int errno)
Retrieve string representation of error number.
EFI_HANDLE efi_image_handle
Image handle passed to entry point.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
void set_autoboot_ll_addr(const void *ll_addr, size_t len, unsigned int vlan)
Identify autoboot device by link-layer address.
int efi_set_autoboot_ll_addr(EFI_HANDLE device, EFI_DEVICE_PATH_PROTOCOL *path)
Identify autoboot device.
UINT32 HwAddressSize
The size, in bytes, of the network interface's HW address.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
EFI_SYSTEM_TABLE * efi_systab
EFI_OPEN_PROTOCOL OpenProtocol
#define NULL
NULL pointer (VOID *)