2007-06-28 09:00:39 +02:00
|
|
|
/*++
|
|
|
|
|
2010-04-28 14:14:56 +02:00
|
|
|
Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
|
|
|
|
This program and the accompanying materials
|
2007-06-28 09:00:39 +02:00
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
Module Name:
|
|
|
|
|
|
|
|
Ip4Config.h
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
|
|
|
|
--*/
|
|
|
|
|
|
|
|
#ifndef _IP4CONFIG_H_
|
|
|
|
#define _IP4CONFIG_H_
|
|
|
|
|
|
|
|
#include EFI_PROTOCOL_DEFINITION (Ip4)
|
|
|
|
|
|
|
|
#define EFI_IP4_CONFIG_PROTOCOL_GUID \
|
2008-03-28 13:00:46 +01:00
|
|
|
{ 0x3b95aa31, 0x3793, 0x434b, {0x86, 0x67, 0xc8, 0x07, 0x08, 0x92, 0xe0, 0x5e} }
|
2007-06-28 09:00:39 +02:00
|
|
|
|
|
|
|
EFI_FORWARD_DECLARATION (EFI_IP4_CONFIG_PROTOCOL);
|
|
|
|
|
1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6)
1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol.
1.3) Add Smbios 2.5, 2.6 supports.
Incompatible changes hilighted:
1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed.
2) EFI_IP4_IPCONFIG_DATA changed.
2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4622 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 07:37:35 +01:00
|
|
|
#define IP4_CONFIG_VARIABLE_ATTRIBUTES (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS)
|
2007-06-28 09:00:39 +02:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
EFI_IPv4_ADDRESS StationAddress;
|
|
|
|
EFI_IPv4_ADDRESS SubnetMask;
|
|
|
|
UINT32 RouteTableSize;
|
1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6)
1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol.
1.3) Add Smbios 2.5, 2.6 supports.
Incompatible changes hilighted:
1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed.
2) EFI_IP4_IPCONFIG_DATA changed.
2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4622 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 07:37:35 +01:00
|
|
|
EFI_IP4_ROUTE_TABLE *RouteTable;
|
2007-06-28 09:00:39 +02:00
|
|
|
} EFI_IP4_IPCONFIG_DATA;
|
|
|
|
|
|
|
|
|
|
|
|
typedef
|
|
|
|
EFI_STATUS
|
|
|
|
(EFIAPI *EFI_IP4_CONFIG_START) (
|
|
|
|
IN EFI_IP4_CONFIG_PROTOCOL *This,
|
|
|
|
IN EFI_EVENT DoneEvent,
|
|
|
|
IN EFI_EVENT ReconfigEvent
|
|
|
|
);
|
|
|
|
|
|
|
|
typedef
|
|
|
|
EFI_STATUS
|
|
|
|
(EFIAPI *EFI_IP4_CONFIG_STOP) (
|
|
|
|
IN EFI_IP4_CONFIG_PROTOCOL *This
|
|
|
|
);
|
|
|
|
|
|
|
|
typedef
|
|
|
|
EFI_STATUS
|
|
|
|
(EFIAPI *EFI_IP4_CONFIG_GET_DATA) (
|
|
|
|
IN EFI_IP4_CONFIG_PROTOCOL *This,
|
|
|
|
IN OUT UINTN *ConfigDataSize,
|
|
|
|
OUT EFI_IP4_IPCONFIG_DATA *ConfigData OPTIONAL
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2008-03-20 17:37:48 +01:00
|
|
|
struct _EFI_IP4_CONFIG_PROTOCOL {
|
2007-06-28 09:00:39 +02:00
|
|
|
EFI_IP4_CONFIG_START Start;
|
|
|
|
EFI_IP4_CONFIG_STOP Stop;
|
|
|
|
EFI_IP4_CONFIG_GET_DATA GetData;
|
2008-03-20 17:37:48 +01:00
|
|
|
};
|
2007-06-28 09:00:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
extern EFI_GUID gEfiIp4ConfigProtocolGuid;
|
|
|
|
|
|
|
|
#endif
|