summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/Ip6Dxe/Ip6Option.c
diff options
context:
space:
mode:
Diffstat (limited to 'NetworkPkg/Ip6Dxe/Ip6Option.c')
-rw-r--r--NetworkPkg/Ip6Dxe/Ip6Option.c16
1 files changed, 8 insertions, 8 deletions
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.