summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/Ip6Dxe
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2016-10-19 15:01:28 +0800
committerFu Siyuan <siyuan.fu@intel.com>2016-10-26 08:50:03 +0800
commitd1c85a17fa8623e3fe60a6fe398f01e46d427a96 (patch)
tree0b7f82f6c7c21487ffdff032520513dc8fcc345b /NetworkPkg/Ip6Dxe
parent74c6a1031d36430f99ca7799520f960b4a66e7fe (diff)
downloadedk2-d1c85a17fa8623e3fe60a6fe398f01e46d427a96.tar.gz
edk2-d1c85a17fa8623e3fe60a6fe398f01e46d427a96.tar.bz2
edk2-d1c85a17fa8623e3fe60a6fe398f01e46d427a96.zip
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')
-rw-r--r--NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c2
-rw-r--r--NetworkPkg/Ip6Dxe/Ip6Option.c16
-rw-r--r--NetworkPkg/Ip6Dxe/Ip6Option.h10
-rw-r--r--NetworkPkg/Ip6Dxe/Ip6Output.c8
4 files changed, 18 insertions, 18 deletions
diff --git a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
index 75ecec1f32..9b6a62e9ec 100644
--- a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
+++ b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
@@ -121,7 +121,7 @@ Ip6ConfigOnPolicyChanged (
if (NewPolicy == Ip6ConfigPolicyAutomatic) {
//
- // Set paramters to trigger router solicitation sending in timer handler.
+ // Set parameters to trigger router solicitation sending in timer handler.
//
IpSb->RouterAdvertiseReceived = FALSE;
IpSb->SolicitTimer = IP6_MAX_RTR_SOLICITATIONS;
diff --git a/NetworkPkg/Ip6Dxe/Ip6Option.c b/NetworkPkg/Ip6Dxe/Ip6Option.c
index 9a91fd7cd1..21d28b6942 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.
diff --git a/NetworkPkg/Ip6Dxe/Ip6Option.h b/NetworkPkg/Ip6Dxe/Ip6Option.h
index b62a04216e..242ec51c10 100644
--- a/NetworkPkg/Ip6Dxe/Ip6Option.h
+++ b/NetworkPkg/Ip6Dxe/Ip6Option.h
@@ -51,7 +51,7 @@ typedef enum {
/**
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.
@@ -72,8 +72,8 @@ typedef enum {
@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
@@ -122,7 +122,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.
@@ -179,7 +179,7 @@ Ip6CopyExts (
@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
diff --git a/NetworkPkg/Ip6Dxe/Ip6Output.c b/NetworkPkg/Ip6Dxe/Ip6Output.c
index fe642d371e..8330e37935 100644
--- a/NetworkPkg/Ip6Dxe/Ip6Output.c
+++ b/NetworkPkg/Ip6Dxe/Ip6Output.c
@@ -23,7 +23,7 @@ UINT32 mIp6Id;
@param[in] IpSb Points to an IP6 service binding instance.
@param[out] SourceList The list entry head of all source addresses.
- It is the caller's responsiblity to free the
+ It is the caller's responsibility to free the
resources.
@param[out] SourceCount The number of source addresses.
@@ -364,7 +364,7 @@ Ip6SysPacketSent (
@param[in] LastHeader The pointer of next header of last extension header.
@param[in] HeadLen The length of the unfragmented part of the IP6 header.
- @retval EFI_BAD_BUFFER_SIZE There is no enought room in the head space of
+ @retval EFI_BAD_BUFFER_SIZE There is no enough room in the head space of
Packet.
@retval EFI_SUCCESS The operation performed successfully.
@@ -726,7 +726,7 @@ Ip6Output (
}
//
- // Send out multicast neighbor solicitation for address resolution immediatly.
+ // Send out multicast neighbor solicitation for address resolution immediately.
//
Ip6CreateSNMulticastAddr (&NeighborCache->Neighbor, &Destination);
Status = Ip6SelectSourceAddress (IpSb, &NeighborCache->Neighbor, &Source);
@@ -809,7 +809,7 @@ Ip6Output (
//
// OK, selected the source and route, fragment the packet then send
// them. Tag each fragment other than the first one as spawn from it.
- // Each extension header is an integar multiple of 8 octets long, in
+ // Each extension header is an integer multiple of 8 octets long, in
// order to retain 8-octet alignment for subsequent headers.
//
Mtu = IpSb->MaxPacketSize + sizeof (EFI_IP6_HEADER);