+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-\r
-Module Name:\r
-\r
- Ip4Config.h\r
-\r
-Abstract:\r
-\r
---*/\r
-\r
-#ifndef _IP4CONFIG_H_\r
-#define _IP4CONFIG_H_\r
-\r
-#include EFI_PROTOCOL_DEFINITION (Ip4)\r
-\r
-#define EFI_IP4_CONFIG_PROTOCOL_GUID \\r
- { 0x3b95aa31, 0x3793, 0x434b, {0x86, 0x67, 0xc8, 0x07, 0x08, 0x92, 0xe0, 0x5e} }\r
-\r
-EFI_FORWARD_DECLARATION (EFI_IP4_CONFIG_PROTOCOL);\r
-\r
-#define IP4_CONFIG_VARIABLE_ATTRIBUTES (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS)\r
-\r
-typedef struct {\r
- EFI_IPv4_ADDRESS StationAddress;\r
- EFI_IPv4_ADDRESS SubnetMask;\r
- UINT32 RouteTableSize;\r
- EFI_IP4_ROUTE_TABLE *RouteTable;\r
-} EFI_IP4_IPCONFIG_DATA;\r
-\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_IP4_CONFIG_START) (\r
- IN EFI_IP4_CONFIG_PROTOCOL *This,\r
- IN EFI_EVENT DoneEvent,\r
- IN EFI_EVENT ReconfigEvent \r
- );\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_IP4_CONFIG_STOP) (\r
- IN EFI_IP4_CONFIG_PROTOCOL *This \r
- );\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_IP4_CONFIG_GET_DATA) (\r
- IN EFI_IP4_CONFIG_PROTOCOL *This,\r
- IN OUT UINTN *ConfigDataSize,\r
- OUT EFI_IP4_IPCONFIG_DATA *ConfigData OPTIONAL \r
- );\r
-\r
-\r
-struct _EFI_IP4_CONFIG_PROTOCOL {\r
- EFI_IP4_CONFIG_START Start;\r
- EFI_IP4_CONFIG_STOP Stop;\r
- EFI_IP4_CONFIG_GET_DATA GetData;\r
-};\r
-\r
-\r
-extern EFI_GUID gEfiIp4ConfigProtocolGuid;\r
-\r
-#endif\r