summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/Ip4Dxe/Ip4If.c
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:07:52 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit6c585b52e52871e52fcf71748534e8a27a308431 (patch)
tree33dd7b11816dcd3a897b9acc224999761abcac2e /NetworkPkg/Ip4Dxe/Ip4If.c
parentba3b642d5ba5c4703dc6410eb25fe189283659c1 (diff)
downloadedk2-6c585b52e52871e52fcf71748534e8a27a308431.tar.gz
edk2-6c585b52e52871e52fcf71748534e8a27a308431.tar.bz2
edk2-6c585b52e52871e52fcf71748534e8a27a308431.zip
NetworkPkg/Ip4Dxe: 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-40-philmd@redhat.com>
Diffstat (limited to 'NetworkPkg/Ip4Dxe/Ip4If.c')
-rw-r--r--NetworkPkg/Ip4Dxe/Ip4If.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/NetworkPkg/Ip4Dxe/Ip4If.c b/NetworkPkg/Ip4Dxe/Ip4If.c
index 348f2e076a..edb0b197ca 100644
--- a/NetworkPkg/Ip4Dxe/Ip4If.c
+++ b/NetworkPkg/Ip4Dxe/Ip4If.c
@@ -1,5 +1,5 @@
/** @file
- Implement IP4 pesudo interface.
+ Implement IP4 pseudo interface.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -9,13 +9,13 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#include "Ip4Impl.h"
//
-// Mac address with all zero, used to determine whethter the ARP
+// Mac address with all zero, used to determine whether the ARP
// resolve succeeded. Failed ARP requests zero the MAC address buffer.
//
EFI_MAC_ADDRESS mZeroMacAddress;
/**
- Callback funtion when frame transmission is finished. It will
+ Callback function when frame transmission is finished. It will
call the frame owner's callback function to tell it the result.
@param[in] Context Context which is point to the token.
@@ -567,7 +567,7 @@ Ip4SetAddress (
//
// Set the ip/netmask, then compute the subnet broadcast
// and network broadcast for easy access. When computing
- // nework broadcast, the subnet mask is most like longer
+ // network broadcast, the subnet mask is most like longer
// than the default netmask (not subneted) as defined in
// RFC793. If that isn't the case, we are aggregating the
// networks, use the subnet's mask instead.
@@ -983,7 +983,7 @@ Ip4OnArpResolved (
/**
- Callback funtion when frame transmission is finished. It will
+ Callback function when frame transmission is finished. It will
call the frame owner's callback function to tell it the result.
@param[in] Context Context which is point to the token.
@@ -1255,7 +1255,7 @@ Ip4OnFrameReceivedDpc (
}
//
- // Wrap the frame in a net buffer then deliever it to IP input.
+ // Wrap the frame in a net buffer then deliver it to IP input.
// IP will reassemble the packet, and deliver it to upper layer
//
Netfrag.Len = MnpRxData->DataLength;
@@ -1311,7 +1311,7 @@ Ip4OnFrameReceived (
@retval EFI_ALREADY_STARTED There is already a pending receive request.
@retval EFI_OUT_OF_RESOURCES Failed to allocate resource to receive.
- @retval EFI_SUCCESS The recieve request has been started.
+ @retval EFI_SUCCESS The receive request has been started.
@retval other Other error occurs.
**/