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 
10 FILE_LICENCE ( BSD3 );
11 
12 #define EFI_APPLE_NET_BOOT_PROTOCOL_GUID \
13  { 0x78ee99fb, 0x6a5e, 0x4186, \
14  { 0x97, 0xde, 0xcd, 0x0a, 0xba, 0x34, 0x5a, 0x74 } }
15 
17 
18 /**
19  Get a DHCP packet obtained by the firmware during NetBoot.
20 
21  @param This A pointer to the APPLE_NET_BOOT_PROTOCOL instance.
22  @param BufferSize A pointer to the size of the buffer in bytes.
23  @param DataBuffer The memory buffer to copy the packet to. If it is
24  NULL, then the size of the packet is returned
25  in BufferSize.
26  @retval EFI_SUCCESS The packet was copied.
27  @retval EFI_BUFFER_TOO_SMALL The BufferSize is too small to read the
28  current packet. BufferSize has been
29  updated with the size needed to
30  complete the request.
31 **/
32 typedef
37  OUT VOID *DataBuffer
38  );
39 
41 {
44 };
45 
46 #endif /*_IPXE_EFI_APPLE_NET_BOOT_PROTOCOL_H */
GET_DHCP_RESPONSE GetDhcpResponse
Definition: AppleNetBoot.h:42
FILE_LICENCE(BSD3)
UINT16_t BufferSize
Buffer size.
Definition: pxe_api.h:64
GET_DHCP_RESPONSE GetBsdpResponse
Definition: AppleNetBoot.h:43
#define OUT
Definition: mlx_utils.h:29
#define EFIAPI
UINT64 UINTN
Unsigned value of native width.
Definition: ProcessorBind.h:71
#define VOID
Undeclared type.
Definition: Base.h:319
#define IN
Definition: mlx_utils.h:28
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
Definition: UefiBaseType.h:35
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.
Definition: AppleNetBoot.h:34