]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Arp.h
Grammatical and disclaimer changes (does not follow internal C coding stds.)
[mirror_edk2.git] / MdePkg / Include / Protocol / Arp.h
index 4e55277b9fbe457b3ed9532d503cf454d7b99cd3..9b7edae7e2be55f49679335897c89f9e5cb50e95 100644 (file)
@@ -7,17 +7,17 @@
   The EFI ARP Protocol provides services to map IP network\r
   address to hardware address used by a data link protocol.\r
   \r
-  Copyright (c) 2006 - 2009, Intel Corporation.<BR>                                                         \r
-  All rights reserved. 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
+Copyright (c) 2006 - 2010, Intel Corporation.  All rights reserved<BR>\r
+This program and the accompanying materials are licensed and made available under \r
+the terms and conditions of the BSD License that accompanies this distribution.  \r
+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
+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
   @par Revision Reference:          \r
-  This Protocol is introduced in UEFI Specification 2.0\r
+  This Protocol was introduced in UEFI Specification 2.0.\r
 \r
 **/\r
 \r
@@ -65,12 +65,12 @@ typedef struct {
   UINT16                      SwAddressType;\r
 \r
   ///\r
-  /// Length of the hardware address.\r
+  /// The length of the hardware address.\r
   ///\r
   UINT8                       HwAddressLength;\r
 \r
   ///\r
-  /// Length of the protocol address.\r
+  /// The length of the protocol address.\r
   ///\r
   UINT8                       SwAddressLength;\r
 } EFI_ARP_FIND_DATA;\r
@@ -82,12 +82,12 @@ typedef struct {
   UINT16                    SwAddressType;\r
 \r
   ///\r
-  /// Length in bytes of the station's protocol address to register.\r
+  /// The length in bytes of the station's protocol address to register.\r
   ///\r
   UINT8                     SwAddressLength;\r
 \r
   ///\r
-  /// Pointer to the first byte of the protocol address to register. For\r
+  /// The pointer to the first byte of the protocol address to register. For\r
   /// example, if SwAddressType is 0x0800 (IP), then\r
   /// StationAddress points to the first byte of this station's IP\r
   /// address stored in network byte order.\r
@@ -128,8 +128,8 @@ typedef struct {
   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
-  @param  ConfigData             Pointer to the EFI_ARP_CONFIG_DATA structure.\r
+  @param  This                   The pointer to the EFI_ARP_PROTOCOL instance.\r
+  @param  ConfigData             The pointer to the EFI_ARP_CONFIG_DATA structure.\r
 \r
   @retval EFI_SUCCESS            The new station address was successfully\r
                                  registered.\r
@@ -160,7 +160,7 @@ EFI_STATUS
   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
+  discussed in general terms 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
@@ -218,16 +218,16 @@ EFI_STATUS
   set to TRUE. If the found ARP cache entry is a permanent entry, it is not \r
   affected by Refresh.\r
   \r
-  @param  This                   Pointer to the EFI_ARP_PROTOCOL instance.\r
+  @param  This                   The 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
                                  hardware protocol addresses.\r
-  @param  AddressBuffer          Pointer to address buffer. Set to NULL to match\r
-                                 all addresses.\r
+  @param  AddressBuffer          The pointer to the address buffer. Set to NULL \r
+                                 to match all addresses.\r
   @param  EntryLength            The size of an entry in the entries buffer.\r
   @param  EntryCount             The number of ARP cache entries that are found by\r
                                  the specified criteria.\r
-  @param  Entries                Pointer to the buffer that will receive the ARP\r
+  @param  Entries                The pointer to the buffer that will receive the ARP\r
                                  cache entries.\r
   @param  Refresh                Set to TRUE to refresh the timeout value of the\r
                                  matching ARP cache entry.\r
@@ -257,11 +257,11 @@ EFI_STATUS
 /**\r
   This function removes specified ARP cache entries.\r
 \r
-  @param  This                   Pointer to the EFI_ARP_PROTOCOL instance.\r
+  @param  This                   The pointer to the EFI_ARP_PROTOCOL instance.\r
   @param  BySwAddress            Set to TRUE to delete matching protocol addresses.\r
                                  Set to FALSE to delete matching hardware\r
                                  addresses.\r
-  @param  AddressBuffer          Pointer to the address buffer that is used as a\r
+  @param  AddressBuffer          The pointer to the address buffer that is used as a\r
                                  key to look for the cache entry. Set to NULL to\r
                                  delete all entries.\r
 \r
@@ -283,7 +283,7 @@ EFI_STATUS
   This function delete all dynamic entries from the ARP cache that match the specified\r
   software protocol type.\r
 \r
-  @param  This                   Pointer to the EFI_ARP_PROTOCOL instance.\r
+  @param  This                   The pointer to the EFI_ARP_PROTOCOL instance.\r
 \r
   @retval EFI_SUCCESS            The cache has been flushed.\r
   @retval EFI_INVALID_PARAMETER  This is NULL.\r
@@ -301,11 +301,11 @@ EFI_STATUS
   This function tries to resolve the TargetSwAddress and optionally returns a\r
   TargetHwAddress if it already exists in the ARP cache.\r
 \r
-  @param  This                   Pointer to the EFI_ARP_PROTOCOL instance.\r
-  @param  TargetSwAddress        Pointer to the protocol address to resolve.\r
-  @param  ResolvedEvent          Pointer to the event that will be signaled when\r
+  @param  This                   The pointer to the EFI_ARP_PROTOCOL instance.\r
+  @param  TargetSwAddress        The pointer to the protocol address to resolve.\r
+  @param  ResolvedEvent          The pointer to the event that will be signaled when\r
                                  the address is resolved or some error occurs.\r
-  @param  TargetHwAddress        Pointer to the buffer for the resolved hardware\r
+  @param  TargetHwAddress        The pointer to the buffer for the resolved hardware\r
                                  address in network byte order.\r
 \r
   @retval EFI_SUCCESS            The data is copied from the ARP cache into the\r
@@ -338,8 +338,8 @@ EFI_STATUS
   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
-  @param  This                   Pointer to the EFI_ARP_PROTOCOL instance.\r
-  @param  TargetSwAddress        Pointer to the protocol address in previous\r
+  @param  This                   The pointer to the EFI_ARP_PROTOCOL instance.\r
+  @param  TargetSwAddress        The pointer to the protocol address in previous\r
                                  request session.\r
   @param  ResolvedEvent          Pointer to the event that is used as the\r
                                  notification event in previous request session.\r