]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg: Update PXE driver to follow edk2 coding standards.
authorFu Siyuan <siyuan.fu@intel.com>
Thu, 30 Jun 2016 01:57:56 +0000 (09:57 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Tue, 12 Jul 2016 00:50:36 +0000 (08:50 +0800)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Samer El-Haj-Mahmoud <smahmoud@lenovo.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Zhang Lubo <lubo.zhang@intel.com>
NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c
NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h

index eb0f395e3c64ec2d5f649ac69a69691a83e1e6a7..3ea95185745291594ba1cb7f297ecd1ceb471ff4 100644 (file)
@@ -489,7 +489,7 @@ PxeBcIcmp6ErrorUpdate (
   @param[in, out]  SrcPort              The pointer to the source port.\r
   @param[in]       DoNotFragment        If TRUE, fragment is not enabled.\r
                                         Otherwise, fragment is enabled.\r
-  @param[in]       TTL                  The time to live field of the IP header. \r
+  @param[in]       Ttl                  The time to live field of the IP header. \r
   @param[in]       ToS                  The type of service field of the IP header.\r
 \r
   @retval          EFI_SUCCESS          Successfully configured this instance.\r
@@ -504,7 +504,7 @@ PxeBcConfigUdp4Write (
   IN     EFI_IPv4_ADDRESS   *Gateway,\r
   IN OUT UINT16             *SrcPort,\r
   IN     BOOLEAN            DoNotFragment,\r
-  IN     UINT8              TTL,\r
+  IN     UINT8              Ttl,\r
   IN     UINT8              ToS\r
   )\r
 {\r
@@ -516,7 +516,7 @@ PxeBcConfigUdp4Write (
   Udp4CfgData.TransmitTimeout    = PXEBC_DEFAULT_LIFETIME;\r
   Udp4CfgData.ReceiveTimeout     = PXEBC_DEFAULT_LIFETIME;\r
   Udp4CfgData.TypeOfService      = ToS;\r
-  Udp4CfgData.TimeToLive         = TTL;\r
+  Udp4CfgData.TimeToLive         = Ttl;\r
   Udp4CfgData.AllowDuplicatePort = TRUE;\r
   Udp4CfgData.DoNotFragment      = DoNotFragment;\r
 \r
index 5d611b55c9f6dc54fc6b231c935df27c472d23fe..b8519ae8c8de6b7d4bf00d4304fb11b1f7eaa6d5 100644 (file)
@@ -135,7 +135,7 @@ PxeBcIcmp6ErrorUpdate (
   @param[in, out]  SrcPort              The pointer to the source port.\r
   @param[in]       DoNotFragment        If TRUE, fragment is not enabled.\r
                                         Otherwise, fragment is enabled.\r
-  @param[in]       TTL                  The time to live field of the IP header. \r
+  @param[in]       Ttl                  The time to live field of the IP header. \r
   @param[in]       ToS                  The type of service field of the IP header.\r
 \r
   @retval          EFI_SUCCESS          Successfully configured this instance.\r
@@ -150,7 +150,7 @@ PxeBcConfigUdp4Write (
   IN     EFI_IPv4_ADDRESS   *Gateway,\r
   IN OUT UINT16             *SrcPort,\r
   IN     BOOLEAN            DoNotFragment,\r
-  IN     UINT8              TTL,\r
+  IN     UINT8              Ttl,\r
   IN     UINT8              ToS\r
   );\r
 \r