summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/Udp6Dxe/Udp6Main.c
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:08:04 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commitff82167537c1acb0d0918fc6d168654986fdef42 (patch)
treed17c138e42ff316db4f7b7886aa969dfe95c5382 /NetworkPkg/Udp6Dxe/Udp6Main.c
parentf7c4d22465ec1167b2906b07c3910735a545b974 (diff)
downloadedk2-ff82167537c1acb0d0918fc6d168654986fdef42.tar.gz
edk2-ff82167537c1acb0d0918fc6d168654986fdef42.tar.bz2
edk2-ff82167537c1acb0d0918fc6d168654986fdef42.zip
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/Udp6Main.c')
-rw-r--r--NetworkPkg/Udp6Dxe/Udp6Main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/NetworkPkg/Udp6Dxe/Udp6Main.c b/NetworkPkg/Udp6Dxe/Udp6Main.c
index 0829b7b2a6..a33eb3c8cf 100644
--- a/NetworkPkg/Udp6Dxe/Udp6Main.c
+++ b/NetworkPkg/Udp6Dxe/Udp6Main.c
@@ -104,7 +104,7 @@ Udp6GetModeData (
@retval EFI_SUCCESS The configuration settings were set, changed, or
reset successfully.
- @retval EFI_NO_MAPPING When the UdpConifgData.UseAnyStationAddress is set
+ @retval EFI_NO_MAPPING When the UdpConfigData.UseAnyStationAddress is set
to true and there is no address available for the IP6
driver to bind a source address to this instance.
@retval EFI_INVALID_PARAMETER One or more following conditions are TRUE:
@@ -368,7 +368,7 @@ Udp6Groups (
// Keep a local copy of the configured multicast IPs because IpIo receives
// datagrams from the 0 station address IP instance and then UDP delivers to
// the matched instance. This copy of multicast IPs is used to avoid receive
- // the mutlicast datagrams destinated to multicast IPs the other instances configured.
+ // the multicast datagrams destinated to multicast IPs the other instances configured.
//
if (JoinFlag) {
@@ -423,13 +423,13 @@ ON_EXIT:
One or more of the
Token.Packet.TxData.FragmentTable[].FragmentBuffer
fields is NULL. One or more of the
- Token.Packet.TxData.UdpSessionData.DestinationAddres
+ Token.Packet.TxData.UdpSessionData.DestinationAddress
are not valid unicast IPv6
addresses if the UdpSessionData is not NULL.
Token.Packet.TxData.UdpSessionData.
DestinationAddress is NULL
Token.Packet.TxData.UdpSessionData.
- DestinatioPort
+ DestinationPort
is zero.
Token.Packet.TxData.UdpSessionData is NULL and this
instance's UdpConfigData.RemoteAddress is unspecified.
@@ -586,7 +586,7 @@ Udp6Transmit (
}
} else {
//
- // Set the checksum is zero if the ConfigData->StationAddress is unspcified
+ // Set the checksum is zero if the ConfigData->StationAddress is unspecified
// and the Ipv6 will fill the correct value of this checksum.
//
Udp6Header->Checksum = 0;
@@ -807,7 +807,7 @@ Udp6Cancel (
OldTpl = gBS->RaiseTPL (TPL_CALLBACK);
//
- // Cancle the tokens specified by Token for this instance.
+ // Cancel the tokens specified by Token for this instance.
//
Status = Udp6InstanceCancelToken (Instance, Token);