]>
Commit | Line | Data |
---|---|---|
1e57a462 | 1 | /** @file\r |
2 | Abstractions for Ebl network accesses.\r | |
3 | \r | |
4 | Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r | |
5 | \r | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef __EBL_NETWORK_LIB_H__\r | |
17 | #define __EBL_NETWORK_LIB_H__\r | |
18 | \r | |
19 | #include <Protocol/PxeBaseCode.h>\r | |
20 | \r | |
21 | \r | |
22 | EFI_STATUS\r | |
23 | EFIAPI\r | |
24 | EblGetCurrentIpAddress (\r | |
25 | IN OUT EFI_IP_ADDRESS *Ip\r | |
26 | );\r | |
27 | \r | |
28 | EFI_STATUS\r | |
29 | EFIAPI\r | |
30 | EblGetCurrentMacAddress (\r | |
31 | IN OUT EFI_MAC_ADDRESS *Mac\r | |
32 | );\r | |
33 | \r | |
34 | CHAR8 *\r | |
35 | EFIAPI\r | |
36 | EblLoadFileBootTypeString (\r | |
37 | IN EFI_HANDLE Handle\r | |
38 | );\r | |
39 | \r | |
40 | EFI_STATUS\r | |
41 | EFIAPI\r | |
42 | EblPerformDHCP (\r | |
43 | IN BOOLEAN SortOffers\r | |
44 | );\r | |
45 | \r | |
46 | EFI_STATUS\r | |
47 | EFIAPI\r | |
48 | EblSetStationIp (\r | |
49 | IN EFI_IP_ADDRESS *NewStationIp, OPTIONAL\r | |
50 | IN EFI_IP_ADDRESS *NewSubnetMask OPTIONAL\r | |
51 | );\r | |
3402aac7 | 52 | \r |
1e57a462 | 53 | EFI_STATUS\r |
54 | EFIAPI\r | |
55 | EblMtftp (\r | |
56 | IN EFI_PXE_BASE_CODE_TFTP_OPCODE Operation,\r | |
57 | IN OUT VOID *BufferPtr OPTIONAL,\r | |
58 | IN BOOLEAN Overwrite,\r | |
59 | IN OUT UINT64 *BufferSize,\r | |
60 | IN UINTN *BlockSize OPTIONAL,\r | |
61 | IN EFI_IP_ADDRESS *ServerIp,\r | |
62 | IN UINT8 *Filename OPTIONAL,\r | |
63 | IN EFI_PXE_BASE_CODE_MTFTP_INFO *Info OPTIONAL,\r | |
64 | IN BOOLEAN DontUseBuffer\r | |
65 | );\r | |
3402aac7 | 66 | \r |
1e57a462 | 67 | #endif\r |
68 | \r |