]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Include/Protocol/Arp.h
Update comments for Protocol definitions to match UEFI spec. And add the missing...
[mirror_edk2.git] / MdePkg / Include / Protocol / Arp.h
... / ...
Content-type: text/html ]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Include/Protocol/Arp.h


500 - Internal Server Error

Malformed UTF-8 character (fatal) at (eval 6) line 1, <$fd> line 91.
CommitLineData
1/** @file\r
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
12 Copyright (c) 2006 - 2008, Intel Corporation \r
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
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
36typedef struct _EFI_ARP_PROTOCOL EFI_ARP_PROTOCOL;\r
37\r
38typedef struct {\r
39 ///\r
40 /// Length in bytes of this entry.\r
41 ///\r
42 UINT32 Size;\r
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
48 BOOLEAN DenyFlag;\r
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
54 BOOLEAN StaticFlag;\r
55\r
56 ///\r
57 /// 16-bit ARP hardware identifier number.\r
58 ///\r
59 UINT16 HwAddressType;\r
60\r
61 ///\r
62 /// 16-bit protocol type number.\r
63 ///\r
64 UINT16 SwAddressType;\r
65\r
66 ///\r
67 /// Length of the hardware address.\r
68 ///\r
69 UINT8 HwAddressLength;\r
70\r
71 ///\r
72 /// Length of the protocol address.\r
73 ///\r
74 UINT8 SwAddressLength;\r
75} EFI_ARP_FIND_DATA;\r
76\r
77typedef struct {\r
78 ///\r
79 /// 16-bit protocol type number in host byte order.\r
80 ///\r
81 UINT16 SwAddressType; ///< Host byte order\r
82\r
83 ///\r
84 /// Length in bytes of the station's protocol address to register.\r
85 ///\r
86 UINT8 SwAddressLength;\r
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