diff options
author | Antoine Coeur <coeur@gmx.fr> | 2020-02-07 02:08:04 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-02-10 22:30:07 +0000 |
commit | ff82167537c1acb0d0918fc6d168654986fdef42 (patch) | |
tree | d17c138e42ff316db4f7b7886aa969dfe95c5382 /NetworkPkg/Udp6Dxe/Udp6Impl.c | |
parent | f7c4d22465ec1167b2906b07c3910735a545b974 (diff) | |
download | edk2-ff82167537c1acb0d0918fc6d168654986fdef42.tar.gz |
NetworkPkg/Udp6Dxe: Fix various typos
Fix various typos in comments and documentation.
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-52-philmd@redhat.com>
Diffstat (limited to 'NetworkPkg/Udp6Dxe/Udp6Impl.c')
-rw-r--r-- | NetworkPkg/Udp6Dxe/Udp6Impl.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/NetworkPkg/Udp6Dxe/Udp6Impl.c b/NetworkPkg/Udp6Dxe/Udp6Impl.c index aefcd3396c..ba939fdbfc 100644 --- a/NetworkPkg/Udp6Dxe/Udp6Impl.c +++ b/NetworkPkg/Udp6Dxe/Udp6Impl.c @@ -96,7 +96,7 @@ Udp6DgramRcvd ( );
/**
- This function cancle the token specified by Arg in the Map.
+ This function cancel the token specified by Arg in the Map.
@param[in] Map Pointer to the NET_MAP.
@param[in] Item Pointer to the NET_MAP_ITEM.
@@ -458,7 +458,7 @@ Udp6CheckTimeout ( /**
- This function intializes the new created udp instance.
+ This function initializes the new created udp instance.
@param[in] Udp6Service Pointer to the UDP6_SERVICE_DATA.
@param[in, out] Instance Pointer to the un-initialized UDP6_INSTANCE_DATA.
@@ -575,7 +575,7 @@ Udp6FindInstanceByPort ( /**
This function tries to bind the udp instance according to the configured port
- allocation stragety.
+ allocation strategy.
@param[in] InstanceList Pointer to the head of the list linking the udp
instances.
@@ -832,7 +832,7 @@ Udp6ValidateTxToken ( if ((UdpSessionData->DestinationPort == 0) && (ConfigData->RemotePort == 0)) {
//
- // Ambiguous; no avalaible DestinationPort for this token.
+ // Ambiguous; no available DestinationPort for this token.
//
return EFI_INVALID_PARAMETER;
}
@@ -841,7 +841,7 @@ Udp6ValidateTxToken ( NetIp6IsUnspecifiedAddr (&ConfigData->RemoteAddress)
) {
//
- // The DestinationAddress is not specificed.
+ // The DestinationAddress is not specified.
//
return EFI_INVALID_PARAMETER;
}
@@ -915,7 +915,7 @@ Udp6TokenExist ( pseudo HeadSum to reduce some overhead.
@param[in] Packet Pointer to the NET_BUF contains the udp datagram.
- @param[in] HeadSum Checksum of the pseudo header, execpt the length
+ @param[in] HeadSum Checksum of the pseudo header, except the length
field.
@return The 16-bit checksum of this udp datagram.
@@ -1123,7 +1123,7 @@ Udp6LeaveGroup ( /**
- This function cancle the token specified by Arg in the Map.
+ This function cancel the token specified by Arg in the Map.
@param[in] Map Pointer to the NET_MAP.
@param[in] Item Pointer to the NET_MAP_ITEM.
@@ -1276,7 +1276,7 @@ Udp6InstanceCancelToken ( from the received udp datagram.
@retval TRUE The udp datagram matches the receiving requirements of the Instance.
- @retval FALSE The udp datagram does not matche the receiving requirements of the Instance.
+ @retval FALSE The udp datagram does not match the receiving requirements of the Instance.
**/
BOOLEAN
@@ -1814,7 +1814,7 @@ Udp6SendPortUnreach ( );
//
- // Set the checksum as zero, and IP6 driver will calcuate it with pseudo header.
+ // Set the checksum as zero, and IP6 driver will calculate it with pseudo header.
//
IcmpErrHdr->Head.Checksum = 0;
|