]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/ArpDxe/ArpImpl.h
BaseTools:Change the path of the file that Binary Cache
[mirror_edk2.git] / MdeModulePkg / Universal / Network / ArpDxe / ArpImpl.h
index a5dce7d9a5b54af4eeaeaae5992787e3edf44b7f..47eedc1cb6f7dcc6f8885755b2171077119c6cb7 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   EFI Address Resolution Protocol (ARP) Protocol interface header file.\r
 \r
-Copyright (c) 2006 - 2012, 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<BR>\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
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -94,13 +88,13 @@ typedef enum {
 \r
 /**\r
   Returns a pointer to the ARP_INSTANCE_DATA structure from the input a.\r
-  \r
-  If the signatures matches, then a pointer to the data structure that contains \r
+\r
+  If the signatures matches, then a pointer to the data structure that contains\r
   a specified field of that data structure is returned.\r
-   \r
-  @param  a              Pointer to the field specified by ArpProto within a data \r
+\r
+  @param  a              Pointer to the field specified by ArpProto within a data\r
                          structure of type ARP_INSTANCE_DATA.\r
\r
+\r
 **/\r
 #define ARP_INSTANCE_DATA_FROM_THIS(a) \\r
   CR ( \\r
@@ -130,13 +124,13 @@ typedef struct {
 \r
 /**\r
   Returns a pointer to the ARP_SERVICE_DATA structure from the input a.\r
-  \r
-  If the signatures matches, then a pointer to the data structure that contains \r
+\r
+  If the signatures matches, then a pointer to the data structure that contains\r
   a specified field of that data structure is returned.\r
-   \r
-  @param  a              Pointer to the field specified by ServiceBinding within \r
+\r
+  @param  a              Pointer to the field specified by ServiceBinding within\r
                          a data structure of type ARP_SERVICE_DATA.\r
\r
+\r
 **/\r
 #define ARP_SERVICE_DATA_FROM_THIS(a) \\r
   CR ( \\r
@@ -228,13 +222,13 @@ typedef struct {
 /**\r
   This function is used to assign a station address to the ARP cache for this instance\r
   of the ARP driver.\r
-  \r
-  Each ARP instance has one station address. The EFI_ARP_PROTOCOL driver will \r
-  respond to ARP requests that match this registered station address. A call to \r
+\r
+  Each ARP instance has one station address. The EFI_ARP_PROTOCOL driver will\r
+  respond to ARP requests that match this registered station address. A call to\r
   this function with the ConfigData field set to NULL will reset this ARP instance.\r
-  \r
-  Once a protocol type and station address have been assigned to this ARP instance, \r
-  all the following ARP functions will use this information. Attempting to change \r
+\r
+  Once a protocol type and station address have been assigned to this ARP instance,\r
+  all the following ARP functions will use this information. Attempting to change\r
   the protocol type or station address to a configured ARP instance will result in errors.\r
 \r
   @param  This                   Pointer to the EFI_ARP_PROTOCOL instance.\r
@@ -263,17 +257,17 @@ ArpConfigure (
 /**\r
   This function is used to insert entries into the ARP cache.\r
 \r
-  ARP cache entries are typically inserted and updated by network protocol drivers \r
-  as network traffic is processed. Most ARP cache entries will time out and be \r
-  deleted if the network traffic stops. ARP cache entries that were inserted \r
+  ARP cache entries are typically inserted and updated by network protocol drivers\r
+  as network traffic is processed. Most ARP cache entries will time out and be\r
+  deleted if the network traffic stops. ARP cache entries that were inserted\r
   by the Add() function may be static (will not time out) or dynamic (will time out).\r
-  Default ARP cache timeout values are not covered in most network protocol \r
-  specifications (although RFC 1122 comes pretty close) and will only be \r
-  discussed in general in this specification. The timeout values that are \r
-  used in the EFI Sample Implementation should be used only as a guideline. \r
-  Final product implementations of the EFI network stack should be tuned for \r
+  Default ARP cache timeout values are not covered in most network protocol\r
+  specifications (although RFC 1122 comes pretty close) and will only be\r
+  discussed in general in this specification. The timeout values that are\r
+  used in the EFI Sample Implementation should be used only as a guideline.\r
+  Final product implementations of the EFI network stack should be tuned for\r
   their expected network environments.\r
-  \r
+\r
   @param  This                   Pointer to the EFI_ARP_PROTOCOL instance.\r
   @param  DenyFlag               Set to TRUE if this entry is a deny entry. Set to\r
                                  FALSE if this  entry is a normal entry.\r
@@ -319,14 +313,14 @@ ArpAdd (
 /**\r
   This function searches the ARP cache for matching entries and allocates a buffer into\r
   which those entries are copied.\r
-  \r
-  The first part of the allocated buffer is EFI_ARP_FIND_DATA, following which \r
+\r
+  The first part of the allocated buffer is EFI_ARP_FIND_DATA, following which\r
   are protocol address pairs and hardware address pairs.\r
-  When finding a specific protocol address (BySwAddress is TRUE and AddressBuffer \r
-  is not NULL), the ARP cache timeout for the found entry is reset if Refresh is \r
-  set to TRUE. If the found ARP cache entry is a permanent entry, it is not \r
+  When finding a specific protocol address (BySwAddress is TRUE and AddressBuffer\r
+  is not NULL), the ARP cache timeout for the found entry is reset if Refresh is\r
+  set to TRUE. If the found ARP cache entry is a permanent entry, it is not\r
   affected by Refresh.\r
-  \r
+\r
   @param  This                   Pointer to the EFI_ARP_PROTOCOL instance.\r
   @param  BySwAddress            Set to TRUE to look for matching software protocol\r
                                  addresses. Set to FALSE to look for matching\r
@@ -439,13 +433,13 @@ ArpRequest (
 /**\r
   This function aborts the previous ARP request (identified by This,  TargetSwAddress\r
   and ResolvedEvent) that is issued by EFI_ARP_PROTOCOL.Request().\r
-  \r
-  If the request is in the internal ARP request queue, the request is aborted \r
-  immediately and its ResolvedEvent is signaled. Only an asynchronous address \r
-  request needs to be canceled. If TargeSwAddress and ResolveEvent are both \r
-  NULL, all the pending asynchronous requests that have been issued by This \r
+\r
+  If the request is in the internal ARP request queue, the request is aborted\r
+  immediately and its ResolvedEvent is signaled. Only an asynchronous address\r
+  request needs to be canceled. If TargeSwAddress and ResolveEvent are both\r
+  NULL, all the pending asynchronous requests that have been issued by This\r
   instance will be cancelled and their corresponding events will be signaled.\r
-  \r
+\r
   @param  This                   Pointer to the EFI_ARP_PROTOCOL instance.\r
   @param  TargetSwAddress        Pointer to the protocol address in previous\r
                                  request session.\r
@@ -673,7 +667,7 @@ ArpOnFrameRcvd (
 \r
 /**\r
   Process the already sent arp packets.\r
-  \r
+\r
   @param[in]  Context                Pointer to the context data registerd to the\r
                                      Event.\r
 \r