diff options
author | Fu Siyuan <siyuan.fu@intel.com> | 2016-06-30 09:57:56 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2016-07-12 08:50:36 +0800 |
commit | e895641ba9a8818d2694d30f42644356c022c2c4 (patch) | |
tree | 8afb4a595c7fb9b07957e4d5d25d3a7616e86089 /NetworkPkg | |
parent | 0a28d02d9fb5293757c507e592a4d0404a7ecf74 (diff) | |
download | edk2-e895641ba9a8818d2694d30f42644356c022c2c4.tar.gz edk2-e895641ba9a8818d2694d30f42644356c022c2c4.tar.bz2 edk2-e895641ba9a8818d2694d30f42644356c022c2c4.zip |
NetworkPkg: Update PXE driver to follow edk2 coding standards.
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>
Diffstat (limited to 'NetworkPkg')
-rw-r--r-- | NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c | 6 | ||||
-rw-r--r-- | NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c b/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c index eb0f395e3c..3ea9518574 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c @@ -489,7 +489,7 @@ PxeBcIcmp6ErrorUpdate ( @param[in, out] SrcPort The pointer to the source port.
@param[in] DoNotFragment If TRUE, fragment is not enabled.
Otherwise, fragment is enabled.
- @param[in] TTL The time to live field of the IP header.
+ @param[in] Ttl The time to live field of the IP header.
@param[in] ToS The type of service field of the IP header.
@retval EFI_SUCCESS Successfully configured this instance.
@@ -504,7 +504,7 @@ PxeBcConfigUdp4Write ( IN EFI_IPv4_ADDRESS *Gateway,
IN OUT UINT16 *SrcPort,
IN BOOLEAN DoNotFragment,
- IN UINT8 TTL,
+ IN UINT8 Ttl,
IN UINT8 ToS
)
{
@@ -516,7 +516,7 @@ PxeBcConfigUdp4Write ( Udp4CfgData.TransmitTimeout = PXEBC_DEFAULT_LIFETIME;
Udp4CfgData.ReceiveTimeout = PXEBC_DEFAULT_LIFETIME;
Udp4CfgData.TypeOfService = ToS;
- Udp4CfgData.TimeToLive = TTL;
+ Udp4CfgData.TimeToLive = Ttl;
Udp4CfgData.AllowDuplicatePort = TRUE;
Udp4CfgData.DoNotFragment = DoNotFragment;
diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h b/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h index 5d611b55c9..b8519ae8c8 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h @@ -135,7 +135,7 @@ PxeBcIcmp6ErrorUpdate ( @param[in, out] SrcPort The pointer to the source port.
@param[in] DoNotFragment If TRUE, fragment is not enabled.
Otherwise, fragment is enabled.
- @param[in] TTL The time to live field of the IP header.
+ @param[in] Ttl The time to live field of the IP header.
@param[in] ToS The type of service field of the IP header.
@retval EFI_SUCCESS Successfully configured this instance.
@@ -150,7 +150,7 @@ PxeBcConfigUdp4Write ( IN EFI_IPv4_ADDRESS *Gateway,
IN OUT UINT16 *SrcPort,
IN BOOLEAN DoNotFragment,
- IN UINT8 TTL,
+ IN UINT8 Ttl,
IN UINT8 ToS
);
|