]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/Include/Library/EblNetworkLib.h
ArmPlatformPkg: remove EblCmdLib implementation
[mirror_edk2.git] / EmbeddedPkg / Include / Library / EblNetworkLib.h
CommitLineData
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
22EFI_STATUS\r
23EFIAPI\r
24EblGetCurrentIpAddress (\r
25 IN OUT EFI_IP_ADDRESS *Ip\r
26 );\r
27\r
28EFI_STATUS\r
29EFIAPI\r
30EblGetCurrentMacAddress (\r
31 IN OUT EFI_MAC_ADDRESS *Mac\r
32 );\r
33\r
34CHAR8 *\r
35EFIAPI\r
36EblLoadFileBootTypeString (\r
37 IN EFI_HANDLE Handle\r
38 );\r
39\r
40EFI_STATUS\r
41EFIAPI\r
42EblPerformDHCP (\r
43 IN BOOLEAN SortOffers\r
44 );\r
45\r
46EFI_STATUS\r
47EFIAPI\r
48EblSetStationIp (\r
49 IN EFI_IP_ADDRESS *NewStationIp, OPTIONAL\r
50 IN EFI_IP_ADDRESS *NewSubnetMask OPTIONAL\r
51 );\r
3402aac7 52\r
1e57a462 53EFI_STATUS\r
54EFIAPI\r
55EblMtftp (\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