NetworkPkg: Fix typos in comments
- assocated -> associated - malformated -> malformatted - mal-formated -> mal-formatted - formated -> formatted - octects -> octets - responsiblity -> responsibility - enought -> enough - immediatly -> immediately - integar -> integer - Alogrithem -> Algorithm - Initializeion -> Initialization - primelenght -> primelength - Vlaue -> Value - perfoms -> performs - randome -> random - verifed -> verified - finallization -> finalization - Intializes -> Initializes - specifed -> specified - if -> If - Decrption -> Decryption - Autahentication -> Authentication - informatino -> information - alogrithm -> algorithm - Authenticaion -> Authentication - Alogrithem -> Algorithm - containning -> containing - paramter -> parameter Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-By: Siyuan Fu <siyuan.fu@intel.com> Reviewed-By: Jiaxin Wu <jiaxin.wu@intel.com>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
/**
|
||||
Validate the IP6 option format for both the packets we received
|
||||
and that we will transmit. It will compute the ICMPv6 error message fields
|
||||
if the option is malformated.
|
||||
if the option is malformatted.
|
||||
|
||||
@param[in] IpSb The IP6 service data.
|
||||
@param[in] Packet The to be validated packet.
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
|
||||
@retval TRUE The option is properly formatted.
|
||||
@retval FALSE The option is malformated.
|
||||
@retval FALSE The option is malformatted.
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
@@ -126,7 +126,7 @@ Ip6IsOptionValid (
|
||||
@param[in] OptionLen The length of the whole option.
|
||||
|
||||
@retval TRUE The option is properly formatted.
|
||||
@retval FALSE The option is malformated.
|
||||
@retval FALSE The option is malformatted.
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
@@ -231,7 +231,7 @@ Ip6IsValidProtocol (
|
||||
/**
|
||||
Validate the IP6 extension header format for both the packets we received
|
||||
and that we will transmit. It will compute the ICMPv6 error message fields
|
||||
if the option is mal-formated.
|
||||
if the option is mal-formatted.
|
||||
|
||||
@param[in] IpSb The IP6 service instance. This is an optional parameter.
|
||||
@param[in] Packet The data of the packet. Ignored if NULL.
|
||||
@@ -252,8 +252,8 @@ Ip6IsValidProtocol (
|
||||
@param[out] Fragmented Indicate whether the packet is fragmented.
|
||||
This is an optional parameter that may be NULL.
|
||||
|
||||
@retval TRUE The option is properly formated.
|
||||
@retval FALSE The option is malformated.
|
||||
@retval TRUE The option is properly formatted.
|
||||
@retval FALSE The option is malformatted.
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
@@ -436,7 +436,7 @@ Ip6IsExtsValid (
|
||||
|
||||
//
|
||||
// RFC2460, ICMP Parameter Problem message with code 0 should be sent
|
||||
// if the length of a fragment is not a multiple of 8 octects and the M
|
||||
// if the length of a fragment is not a multiple of 8 octets and the M
|
||||
// flag of that fragment is 1, pointing to the Payload length field of the
|
||||
// fragment packet.
|
||||
//
|
||||
@@ -606,7 +606,7 @@ Ip6FillHopByHop (
|
||||
@param[in] ExtHdrsLen The length of the extension headers.
|
||||
@param[in] FragmentOffset The fragment offset of the data following the header.
|
||||
@param[out] UpdatedExtHdrs The updated ExtHdrs with Fragment header inserted.
|
||||
It's caller's responsiblity to free this buffer.
|
||||
It's caller's responsibility to free this buffer.
|
||||
|
||||
@retval EFI_OUT_OF_RESOURCES Failed to finish the operation due to lake of
|
||||
resource.
|
||||
|
Reference in New Issue
Block a user