/** @file\r
- The EFI_SIMPLE_NETWORK_PROTOCOL provides services to initialize a network interface, \r
+ The EFI_SIMPLE_NETWORK_PROTOCOL provides services to initialize a network interface,\r
transmit packets, receive packets, and close a network interface.\r
\r
Basic network device abstraction.\r
MCast - MultiCast\r
...\r
\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
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
- @par Revision Reference: \r
- This Protocol is introduced in EFI Specification 1.10. \r
+ @par Revision Reference:\r
+ This Protocol is introduced in EFI Specification 1.10.\r
\r
**/\r
\r
\r
///\r
/// Protocol defined in EFI1.1.\r
-/// \r
+///\r
typedef EFI_SIMPLE_NETWORK_PROTOCOL EFI_SIMPLE_NETWORK;\r
\r
///\r
///\r
UINT64 UnsupportedProtocol;\r
\r
+ ///\r
+ /// Number of valid frames received that were duplicated.\r
+ ///\r
+ UINT64 RxDuplicatedFrames;\r
+\r
+ ///\r
+ /// Number of encrypted frames received that failed to decrypt.\r
+ ///\r
+ UINT64 RxDecryptErrorFrames;\r
+\r
+ ///\r
+ /// Number of frames that failed to transmit after exceeding the retry limit.\r
+ ///\r
+ UINT64 TxErrorFrames;\r
+\r
+ ///\r
+ /// Number of frames transmitted successfully after more than one attempt.\r
+ ///\r
+ UINT64 TxRetryFrames;\r
} EFI_NETWORK_STATISTICS;\r
\r
///\r
);\r
\r
/**\r
- Resets a network adapter and allocates the transmit and receive buffers \r
- required by the network interface; optionally, also requests allocation \r
+ Resets a network adapter and allocates the transmit and receive buffers\r
+ required by the network interface; optionally, also requests allocation\r
of additional transmit and receive buffers.\r
\r
@param This The protocol instance pointer.\r
);\r
\r
/**\r
- Resets a network adapter and re-initializes it with the parameters that were \r
- provided in the previous call to Initialize(). \r
+ Resets a network adapter and re-initializes it with the parameters that were\r
+ provided in the previous call to Initialize().\r
\r
@param This The protocol instance pointer.\r
@param ExtendedVerification Indicates that the driver may perform a more\r
);\r
\r
/**\r
- Resets a network adapter and leaves it in a state that is safe for \r
+ Resets a network adapter and leaves it in a state that is safe for\r
another driver to initialize.\r
\r
@param This Protocol instance pointer.\r
);\r
\r
/**\r
- Performs read and write operations on the NVRAM device attached to a \r
+ Performs read and write operations on the NVRAM device attached to a\r
network interface.\r
\r
@param This The protocol instance pointer.\r
);\r
\r
/**\r
- Reads the current interrupt status and recycled transmit buffer status from \r
+ Reads the current interrupt status and recycled transmit buffer status from\r
a network interface.\r
\r
@param This The protocol instance pointer.\r
\r
@retval EFI_SUCCESS The packet was placed on the transmit queue.\r
@retval EFI_NOT_STARTED The network interface has not been started.\r
- @retval EFI_NOT_READY The network interface is too busy to accept this transmit request. \r
+ @retval EFI_NOT_READY The network interface is too busy to accept this transmit request.\r
@retval EFI_BUFFER_TOO_SMALL The BufferSize parameter is too small.\r
@retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.\r
@retval EFI_DEVICE_ERROR The command could not be sent to the network interface.\r
\r
//\r
// Revision defined in EFI1.1\r
-// \r
+//\r
#define EFI_SIMPLE_NETWORK_INTERFACE_REVISION EFI_SIMPLE_NETWORK_PROTOCOL_REVISION\r
\r
///\r
-/// The EFI_SIMPLE_NETWORK_PROTOCOL protocol is used to initialize access \r
-/// to a network adapter. Once the network adapter initializes, \r
-/// the EFI_SIMPLE_NETWORK_PROTOCOL protocol provides services that \r
+/// The EFI_SIMPLE_NETWORK_PROTOCOL protocol is used to initialize access\r
+/// to a network adapter. Once the network adapter initializes,\r
+/// the EFI_SIMPLE_NETWORK_PROTOCOL protocol provides services that\r
/// allow packets to be transmitted and received.\r
///\r
struct _EFI_SIMPLE_NETWORK_PROTOCOL {\r
///\r
- /// Revision of the EFI_SIMPLE_NETWORK_PROTOCOL. All future revisions must \r
- /// be backwards compatible. If a future version is not backwards compatible \r
+ /// Revision of the EFI_SIMPLE_NETWORK_PROTOCOL. All future revisions must\r
+ /// be backwards compatible. If a future version is not backwards compatible\r
/// it is not the same GUID.\r
///\r
UINT64 Revision;\r