/** @file\r
Support functions declaration for UefiPxeBc Driver.\r
\r
- Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
\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\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
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
EFI_STATUS\r
PxeBcFlushStationIp (\r
PXEBC_PRIVATE_DATA *Private,\r
- EFI_IP_ADDRESS *StationIp,\r
+ EFI_IP_ADDRESS *StationIp, OPTIONAL\r
EFI_IP_ADDRESS *SubnetMask OPTIONAL\r
);\r
\r
/**\r
This function is to configure a UDPv4 instance for UdpWrite.\r
\r
- @param[in] Udp4 Pointer to EFI_UDP4_PROTOCOL.\r
- @param[in] StationIp Pointer to the station address.\r
- @param[in] SubnetMask Pointer to the subnet mask.\r
- @param[in] Gateway Pointer to the gateway address.\r
- @param[in, out] SrcPort Pointer to the source port.\r
- @param[in] DoNotFragment The flag of DoNotFragment bit in the IPv4\r
- packet.\r
+ @param[in] Udp4 The pointer to EFI_UDP4_PROTOCOL.\r
+ @param[in] StationIp The pointer to the station address.\r
+ @param[in] SubnetMask The pointer to the subnet mask.\r
+ @param[in] Gateway The pointer to the gateway address.\r
+ @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] ToS The type of service field of the IP header.\r
\r
@retval EFI_SUCCESS Successfully configured this instance.\r
@retval Others Failed to configure this instance.\r
IN EFI_IPv4_ADDRESS *SubnetMask,\r
IN EFI_IPv4_ADDRESS *Gateway,\r
IN OUT UINT16 *SrcPort,\r
- IN BOOLEAN DoNotFragment\r
+ IN BOOLEAN DoNotFragment,\r
+ IN UINT8 Ttl,\r
+ IN UINT8 ToS\r
);\r
\r
\r
@param[in] Number Numeric value to be converted.\r
@param[in] Buffer Pointer to the buffer for ASCII string.\r
@param[in] BufferSize The maxsize of the buffer.\r
- \r
+\r
@return Length The actual length of the ASCII string.\r
\r
**/\r