]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Efi/Protocol/Ip4Config/Ip4Config.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Efi / Protocol / Ip4Config / Ip4Config.h
CommitLineData
3eb9473e 1/*++\r
2\r
f57387d5
HT
3Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 Ip4Config.h\r
15\r
16Abstract:\r
17\r
18--*/\r
19\r
20#ifndef _IP4CONFIG_H_\r
21#define _IP4CONFIG_H_\r
22\r
23#include EFI_PROTOCOL_DEFINITION (Ip4)\r
24\r
3eb9473e 25#define EFI_IP4_CONFIG_PROTOCOL_GUID \\r
7ccf38a3 26 { 0x3b95aa31, 0x3793, 0x434b, {0x86, 0x67, 0xc8, 0x07, 0x08, 0x92, 0xe0, 0x5e} }\r
3eb9473e 27\r
28EFI_FORWARD_DECLARATION (EFI_IP4_CONFIG_PROTOCOL);\r
29\r
2c40a813 30#define IP4_CONFIG_VARIABLE_ATTRIBUTES (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS)\r
3eb9473e 31\r
32typedef struct {\r
33 EFI_IPv4_ADDRESS StationAddress;\r
34 EFI_IPv4_ADDRESS SubnetMask;\r
35 UINT32 RouteTableSize;\r
2c40a813 36 EFI_IP4_ROUTE_TABLE *RouteTable;\r
3eb9473e 37} EFI_IP4_IPCONFIG_DATA;\r
38\r
39\r
40typedef\r
41EFI_STATUS\r
42(EFIAPI *EFI_IP4_CONFIG_START) (\r
43 IN EFI_IP4_CONFIG_PROTOCOL *This,\r
44 IN EFI_EVENT DoneEvent,\r
45 IN EFI_EVENT ReconfigEvent \r
46 );\r
47\r
48typedef\r
49EFI_STATUS\r
50(EFIAPI *EFI_IP4_CONFIG_STOP) (\r
51 IN EFI_IP4_CONFIG_PROTOCOL *This \r
52 );\r
53\r
54typedef\r
55EFI_STATUS\r
56(EFIAPI *EFI_IP4_CONFIG_GET_DATA) (\r
57 IN EFI_IP4_CONFIG_PROTOCOL *This,\r
58 IN OUT UINTN *ConfigDataSize,\r
59 OUT EFI_IP4_IPCONFIG_DATA *ConfigData OPTIONAL \r
60 );\r
61\r
62\r
e5bce275 63struct _EFI_IP4_CONFIG_PROTOCOL {\r
3eb9473e 64 EFI_IP4_CONFIG_START Start;\r
65 EFI_IP4_CONFIG_STOP Stop;\r
66 EFI_IP4_CONFIG_GET_DATA GetData;\r
e5bce275 67};\r
3eb9473e 68\r
69\r
70extern EFI_GUID gEfiIp4ConfigProtocolGuid;\r
71\r
72#endif\r