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:
@@ -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;
|
||||
|
@@ -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.
|
||||
|
@@ -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
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user