iPXE
include
ipxe
efi
Protocol
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
FILE_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
17
typedef
struct
_EFI_APPLE_NET_BOOT_PROTOCOL
EFI_APPLE_NET_BOOT_PROTOCOL
;
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
**/
33
typedef
34
EFI_STATUS
35
(
EFIAPI
*
GET_DHCP_RESPONSE
) (
36
IN
EFI_APPLE_NET_BOOT_PROTOCOL
*This,
37
IN
OUT
UINTN
*
BufferSize
,
38
OUT
VOID
*DataBuffer
39
);
40
41
struct
_EFI_APPLE_NET_BOOT_PROTOCOL
42
{
43
GET_DHCP_RESPONSE
GetDhcpResponse
;
44
GET_DHCP_RESPONSE
GetBsdpResponse
;
45
};
46
47
#endif
/*_IPXE_EFI_APPLE_NET_BOOT_PROTOCOL_H */
_EFI_APPLE_NET_BOOT_PROTOCOL::GetDhcpResponse
GET_DHCP_RESPONSE GetDhcpResponse
Definition:
AppleNetBoot.h:43
FILE_LICENCE
FILE_LICENCE(BSD3)
BufferSize
UINT16_t BufferSize
Buffer size.
Definition:
pxe_api.h:64
_EFI_APPLE_NET_BOOT_PROTOCOL::GetBsdpResponse
GET_DHCP_RESPONSE GetBsdpResponse
Definition:
AppleNetBoot.h:44
_EFI_APPLE_NET_BOOT_PROTOCOL
Definition:
AppleNetBoot.h:41
OUT
#define OUT
Definition:
mlx_utils.h:29
EFIAPI
#define EFIAPI
Definition:
ProcessorBind.h:174
UINTN
UINT64 UINTN
Unsigned value of native width.
Definition:
ProcessorBind.h:115
VOID
#define VOID
Undeclared type.
Definition:
Base.h:272
IN
#define IN
Definition:
mlx_utils.h:28
EFI_STATUS
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
Definition:
UefiBaseType.h:32
GET_DHCP_RESPONSE
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:35
FILE_SECBOOT
FILE_SECBOOT(PERMITTED)
Generated by
1.8.15