diff options
author | Gary Lin <glin@suse.com> | 2016-10-19 15:01:28 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2016-10-26 08:50:03 +0800 |
commit | d1c85a17fa8623e3fe60a6fe398f01e46d427a96 (patch) | |
tree | 0b7f82f6c7c21487ffdff032520513dc8fcc345b /NetworkPkg/Ip6Dxe/Ip6Option.c | |
parent | 74c6a1031d36430f99ca7799520f960b4a66e7fe (diff) | |
download | edk2-d1c85a17fa8623e3fe60a6fe398f01e46d427a96.zip edk2-d1c85a17fa8623e3fe60a6fe398f01e46d427a96.tar.gz edk2-d1c85a17fa8623e3fe60a6fe398f01e46d427a96.tar.bz2 |
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>
Diffstat (limited to 'NetworkPkg/Ip6Dxe/Ip6Option.c')
-rw-r--r-- | NetworkPkg/Ip6Dxe/Ip6Option.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/NetworkPkg/Ip6Dxe/Ip6Option.c b/NetworkPkg/Ip6Dxe/Ip6Option.c index 9a91fd7..21d28b6 100644 --- a/NetworkPkg/Ip6Dxe/Ip6Option.c +++ b/NetworkPkg/Ip6Dxe/Ip6Option.c @@ -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.
|