iPXE
AppleNetBoot.h
Go to the documentation of this file.
1#ifndef _IPXE_EFI_APPLE_NET_BOOT_PROTOCOL_H
2#define _IPXE_EFI_APPLE_NET_BOOT_PROTOCOL_H
3
4/** @file
5 *
6 * Apple Net Boot Protocol
7 *
8 */
9
10FILE_LICENCE ( BSD3 );
11FILE_SECBOOT ( PERMITTED );
12
13#define EFI_APPLE_NET_BOOT_PROTOCOL_GUID \
14 { 0x78ee99fb, 0x6a5e, 0x4186, \
15 { 0x97, 0xde, 0xcd, 0x0a, 0xba, 0x34, 0x5a, 0x74 } }
16
18
19/**
20 Get a DHCP packet obtained by the firmware during NetBoot.
21
22 @param This A pointer to the APPLE_NET_BOOT_PROTOCOL instance.
23 @param BufferSize A pointer to the size of the buffer in bytes.
24 @param DataBuffer The memory buffer to copy the packet to. If it is
25 NULL, then the size of the packet is returned
26 in BufferSize.
27 @retval EFI_SUCCESS The packet was copied.
28 @retval EFI_BUFFER_TOO_SMALL The BufferSize is too small to read the
29 current packet. BufferSize has been
30 updated with the size needed to
31 complete the request.
32**/
33typedef
38 OUT VOID *DataBuffer
39 );
40
46
47#endif /*_IPXE_EFI_APPLE_NET_BOOT_PROTOCOL_H */
UINT64 UINTN
Unsigned value of native width.
#define EFIAPI
struct _EFI_APPLE_NET_BOOT_PROTOCOL EFI_APPLE_NET_BOOT_PROTOCOL
EFI_STATUS(EFIAPI * GET_DHCP_RESPONSE)(IN EFI_APPLE_NET_BOOT_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *DataBuffer)
Get a DHCP packet obtained by the firmware during NetBoot.
#define VOID
Undeclared type.
Definition Base.h:272
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
#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 IN
Definition mlx_utils.h:28
#define OUT
Definition mlx_utils.h:29
UINT16_t BufferSize
Buffer size.
Definition pxe_api.h:7
GET_DHCP_RESPONSE GetDhcpResponse
GET_DHCP_RESPONSE GetBsdpResponse