mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
0a28d02d9f
commit
e895641ba9
|
@ -489,7 +489,7 @@ PxeBcIcmp6ErrorUpdate (
|
||||||
@param[in, out] SrcPort The pointer to the source port.
|
@param[in, out] SrcPort The pointer to the source port.
|
||||||
@param[in] DoNotFragment If TRUE, fragment is not enabled.
|
@param[in] DoNotFragment If TRUE, fragment is not enabled.
|
||||||
Otherwise, fragment is 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.
|
@param[in] ToS The type of service field of the IP header.
|
||||||
|
|
||||||
@retval EFI_SUCCESS Successfully configured this instance.
|
@retval EFI_SUCCESS Successfully configured this instance.
|
||||||
|
@ -504,7 +504,7 @@ PxeBcConfigUdp4Write (
|
||||||
IN EFI_IPv4_ADDRESS *Gateway,
|
IN EFI_IPv4_ADDRESS *Gateway,
|
||||||
IN OUT UINT16 *SrcPort,
|
IN OUT UINT16 *SrcPort,
|
||||||
IN BOOLEAN DoNotFragment,
|
IN BOOLEAN DoNotFragment,
|
||||||
IN UINT8 TTL,
|
IN UINT8 Ttl,
|
||||||
IN UINT8 ToS
|
IN UINT8 ToS
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -516,7 +516,7 @@ PxeBcConfigUdp4Write (
|
||||||
Udp4CfgData.TransmitTimeout = PXEBC_DEFAULT_LIFETIME;
|
Udp4CfgData.TransmitTimeout = PXEBC_DEFAULT_LIFETIME;
|
||||||
Udp4CfgData.ReceiveTimeout = PXEBC_DEFAULT_LIFETIME;
|
Udp4CfgData.ReceiveTimeout = PXEBC_DEFAULT_LIFETIME;
|
||||||
Udp4CfgData.TypeOfService = ToS;
|
Udp4CfgData.TypeOfService = ToS;
|
||||||
Udp4CfgData.TimeToLive = TTL;
|
Udp4CfgData.TimeToLive = Ttl;
|
||||||
Udp4CfgData.AllowDuplicatePort = TRUE;
|
Udp4CfgData.AllowDuplicatePort = TRUE;
|
||||||
Udp4CfgData.DoNotFragment = DoNotFragment;
|
Udp4CfgData.DoNotFragment = DoNotFragment;
|
||||||
|
|
||||||
|
|
|
@ -135,7 +135,7 @@ PxeBcIcmp6ErrorUpdate (
|
||||||
@param[in, out] SrcPort The pointer to the source port.
|
@param[in, out] SrcPort The pointer to the source port.
|
||||||
@param[in] DoNotFragment If TRUE, fragment is not enabled.
|
@param[in] DoNotFragment If TRUE, fragment is not enabled.
|
||||||
Otherwise, fragment is 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.
|
@param[in] ToS The type of service field of the IP header.
|
||||||
|
|
||||||
@retval EFI_SUCCESS Successfully configured this instance.
|
@retval EFI_SUCCESS Successfully configured this instance.
|
||||||
|
@ -150,7 +150,7 @@ PxeBcConfigUdp4Write (
|
||||||
IN EFI_IPv4_ADDRESS *Gateway,
|
IN EFI_IPv4_ADDRESS *Gateway,
|
||||||
IN OUT UINT16 *SrcPort,
|
IN OUT UINT16 *SrcPort,
|
||||||
IN BOOLEAN DoNotFragment,
|
IN BOOLEAN DoNotFragment,
|
||||||
IN UINT8 TTL,
|
IN UINT8 Ttl,
|
||||||
IN UINT8 ToS
|
IN UINT8 ToS
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue