X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FSimpleNetwork.h;h=bdce5d59bb5f269d962172150ad5482be12d5772;hb=af2dc6a70b9380d702bd0720cdb029d630c505e3;hp=92ac869aa4d98a8ee7a56ad30fba58b2d8bd6f01;hpb=636f2be673b2f43518167d8fddae56b714f19314;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/SimpleNetwork.h b/MdePkg/Include/Protocol/SimpleNetwork.h index 92ac869aa4..bdce5d59bb 100644 --- a/MdePkg/Include/Protocol/SimpleNetwork.h +++ b/MdePkg/Include/Protocol/SimpleNetwork.h @@ -9,17 +9,17 @@ MCast - MultiCast ... - Copyright (c) 2006 - 2009, Intel Corporation - All rights reserved. This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved
+This program and the accompanying materials are licensed and made available under +the terms and conditions of the BSD License that accompanies this distribution. +The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php. + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. @par Revision Reference: - This Protocol is introduced in EFI Specification 1.10 + This Protocol is introduced in EFI Specification 1.10. **/ @@ -40,7 +40,7 @@ typedef struct _EFI_SIMPLE_NETWORK_PROTOCOL EFI_SIMPLE_NETWORK_PROTOCOL; typedef EFI_SIMPLE_NETWORK_PROTOCOL EFI_SIMPLE_NETWORK; /// -/// Simple Network Protocol data structures +/// Simple Network Protocol data structures. /// typedef struct { /// @@ -124,7 +124,7 @@ typedef struct { } EFI_NETWORK_STATISTICS; /// -/// State of the network interface +/// The state of the network interface. /// When an EFI_SIMPLE_NETWORK_PROTOCOL driver initializes a /// network interface, the network interface is left in the EfiSimpleNetworkStopped state. /// @@ -273,7 +273,7 @@ EFI_STATUS required by the network interface; optionally, also requests allocation of additional transmit and receive buffers. - @param This Protocol instance pointer. + @param This The protocol instance pointer. @param ExtraRxBufferSize The size, in bytes, of the extra receive buffer space that the driver should allocate for the network interface. Some network interfaces will not be able to use the extra @@ -286,7 +286,7 @@ EFI_STATUS being used. @retval EFI_SUCCESS The network interface was initialized. - @retval EFI_NOT_STARTED The network interface has not been started + @retval EFI_NOT_STARTED The network interface has not been started. @retval EFI_OUT_OF_RESOURCES There was not enough memory for the transmit and receive buffers. @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value. @@ -306,13 +306,13 @@ EFI_STATUS Resets a network adapter and re-initializes it with the parameters that were provided in the previous call to Initialize(). - @param This Protocol instance pointer. + @param This The protocol instance pointer. @param ExtendedVerification Indicates that the driver may perform a more exhaustive verification operation of the device during reset. @retval EFI_SUCCESS The network interface was reset. - @retval EFI_NOT_STARTED The network interface has not been started + @retval EFI_NOT_STARTED The network interface has not been started. @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value. @retval EFI_DEVICE_ERROR The command could not be sent to the network interface. @retval EFI_UNSUPPORTED This function is not supported by the network interface. @@ -332,7 +332,7 @@ EFI_STATUS @param This Protocol instance pointer. @retval EFI_SUCCESS The network interface was shutdown. - @retval EFI_NOT_STARTED The network interface has not been started + @retval EFI_NOT_STARTED The network interface has not been started. @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value. @retval EFI_DEVICE_ERROR The command could not be sent to the network interface. @retval EFI_UNSUPPORTED This function is not supported by the network interface. @@ -347,7 +347,7 @@ EFI_STATUS /** Manages the multicast receive filters of a network interface. - @param This Protocol instance pointer. + @param This The protocol instance pointer. @param Enable A bit mask of receive filters to enable on the network interface. @param Disable A bit mask of receive filters to disable on the network interface. @param ResetMCastFilter Set to TRUE to reset the contents of the multicast receive @@ -362,7 +362,7 @@ EFI_STATUS ResetMCastFilter is TRUE. @retval EFI_SUCCESS The multicast receive filter list was updated. - @retval EFI_NOT_STARTED The network interface has not been started + @retval EFI_NOT_STARTED The network interface has not been started. @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value. @retval EFI_DEVICE_ERROR The command could not be sent to the network interface. @retval EFI_UNSUPPORTED This function is not supported by the network interface. @@ -382,13 +382,13 @@ EFI_STATUS /** Modifies or resets the current station address, if supported. - @param This Protocol instance pointer. + @param This The protocol instance pointer. @param Reset Flag used to reset the station address to the network interfaces permanent address. - @param New New station address to be used for the network interface. + @param New The new station address to be used for the network interface. @retval EFI_SUCCESS The network interfaces station address was updated. - @retval EFI_NOT_STARTED The network interface has not been started + @retval EFI_NOT_STARTED The network interface has not been started. @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value. @retval EFI_DEVICE_ERROR The command could not be sent to the network interface. @retval EFI_UNSUPPORTED This function is not supported by the network interface. @@ -435,7 +435,7 @@ EFI_STATUS /** Converts a multicast IP address to a multicast HW MAC address. - @param This Protocol instance pointer. + @param This The protocol instance pointer. @param IPv6 Set to TRUE if the multicast IP address is IPv6 [RFC 2460]. Set to FALSE if the multicast IP address is IPv4 [RFC 791]. @param IP The multicast IP address that is to be converted to a multicast @@ -466,7 +466,7 @@ EFI_STATUS Performs read and write operations on the NVRAM device attached to a network interface. - @param This Protocol instance pointer. + @param This The protocol instance pointer. @param ReadWrite TRUE for read operations, FALSE for write operations. @param Offset Byte offset in the NVRAM device at which to start the read or write operation. This must be a multiple of NvRamAccessSize and @@ -496,7 +496,7 @@ EFI_STATUS Reads the current interrupt status and recycled transmit buffer status from a network interface. - @param This Protocol instance pointer. + @param This The protocol instance pointer. @param InterruptStatus A pointer to the bit mask of the currently active interrupts If this is NULL, the interrupt status will not be read from the device. If this is not NULL, the interrupt status will @@ -528,7 +528,7 @@ EFI_STATUS /** Places a packet in the transmit queue of a network interface. - @param This Protocol instance pointer. + @param This The protocol instance pointer. @param HeaderSize The size, in bytes, of the media header to be filled in by the Transmit() function. If HeaderSize is non-zero, then it must be equal to This->Mode->MediaHeaderSize and the DestAddr @@ -573,7 +573,7 @@ EFI_STATUS /** Receives a packet from a network interface. - @param This Protocol instance pointer. + @param This The protocol instance pointer. @param HeaderSize The size, in bytes, of the media header received on the network interface. If this parameter is NULL, then the media header size will not be returned.