]>
Commit | Line | Data |
---|---|---|
d1f95000 | 1 | /** @file\r |
c311f86b | 2 | \r |
3 | EFI ARP Protocol Definition\r | |
4 | \r | |
5 | The EFI ARP Service Binding Protocol is used to locate EFI\r | |
6 | ARP Protocol drivers to create and destroy child of the\r | |
7 | driver to communicate with other host using ARP protocol.\r | |
8 | \r | |
9 | The EFI ARP Protocol provides services to map IP network\r | |
10 | address to hardware address used by a data link protocol.\r | |
11 | \r | |
4ca9b6c4 | 12 | Copyright (c) 2006 - 2008, Intel Corporation \r |
d1f95000 | 13 | All rights reserved. This program and the accompanying materials \r |
14 | are licensed and made available under the terms and conditions of the BSD License \r | |
15 | which accompanies this distribution. The full text of the license may be found at \r | |
16 | http://opensource.org/licenses/bsd-license.php \r | |
17 | \r | |
18 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
19 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
20 | \r | |
d1f95000 | 21 | **/\r |
22 | \r | |
23 | #ifndef __EFI_ARP_PROTOCOL_H__\r | |
24 | #define __EFI_ARP_PROTOCOL_H__\r | |
25 | \r | |
26 | #define EFI_ARP_SERVICE_BINDING_PROTOCOL_GUID \\r | |
27 | { \\r | |
28 | 0xf44c00ee, 0x1f2c, 0x4a00, {0xaa, 0x9, 0x1c, 0x9f, 0x3e, 0x8, 0x0, 0xa3 } \\r | |
29 | }\r | |
30 | \r | |
31 | #define EFI_ARP_PROTOCOL_GUID \\r | |
32 | { \\r | |
33 | 0xf4b427bb, 0xba21, 0x4f16, {0xbc, 0x4e, 0x43, 0xe4, 0x16, 0xab, 0x61, 0x9c } \\r | |
34 | }\r | |
35 | \r | |
36 | typedef struct _EFI_ARP_PROTOCOL EFI_ARP_PROTOCOL;\r | |
37 | \r | |
38 | typedef struct {\r | |
f1004231 LG |
39 | ///\r |
40 | /// Length in bytes of this entry.\r | |
41 | ///\r | |
107ffdc9 | 42 | UINT32 Size;\r |
f1004231 LG |
43 | \r |
44 | ///\r | |
45 | /// Set to TRUE if this entry is a "deny" entry.\r | |
46 | /// Set to FALSE if this entry is a "normal" entry.\r | |
47 | ///\r | |
107ffdc9 | 48 | BOOLEAN DenyFlag;\r |
f1004231 LG |
49 | \r |
50 | ///\r | |
51 | /// Set to TRUE if this entry will not time out.\r | |
52 | /// Set to FALSE if this entry will time out.\r | |
53 | ///\r | |
107ffdc9 | 54 | BOOLEAN StaticFlag;\r |
f1004231 LG |
55 | \r |
56 | ///\r | |
57 | /// 16-bit ARP hardware identifier number.\r | |
58 | ///\r | |
107ffdc9 | 59 | UINT16 HwAddressType;\r |
f1004231 LG |
60 | \r |
61 | ///\r | |
62 | /// 16-bit protocol type number.\r | |
63 | ///\r | |
107ffdc9 | 64 | UINT16 SwAddressType;\r |
f1004231 LG |
65 | \r |
66 | ///\r | |
67 | /// Length of the hardware address.\r | |
68 | ///\r | |
107ffdc9 | 69 | UINT8 HwAddressLength;\r |
f1004231 LG |
70 | \r |
71 | ///\r | |
72 | /// Length of the protocol address.\r | |
73 | ///\r | |
107ffdc9 | 74 | UINT8 SwAddressLength;\r |
d1f95000 | 75 | } EFI_ARP_FIND_DATA;\r |
76 | \r | |
77 | typedef struct {\r | |
f1004231 LG |
78 | ///\r |
79 | /// 16-bit protocol type number in host byte order.\r | |
80 | ///\r | |
107ffdc9 | 81 | UINT16 SwAddressType; ///< Host byte order\r |
f1004231 LG |
82 | \r |
83 | ///\r | |
84 | /// Length in bytes of the station's protocol address to register.\r | |
85 | ///\r | |
d1f95000 | 86 | UINT8 SwAddressLength;\r |
f1004231 LG |
87 | \r |
88 | ///\r | |
89 | /// Pointer to the first byte of the protocol address to register. For\r | |
90 | /// example, if SwAddressType is 0x0800 (IP), then\r | |
91 | Content-type: text/html ]>