]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Ip4Dxe/Ip4Common.c
NetworkPkg/Ip4Dxe: Fix various typos
[mirror_edk2.git] / NetworkPkg / Ip4Dxe / Ip4Common.c
index c756a2dbf7e41514dc1cc81018a5304188f07da0..f4269b8ea49520b58b5f5ad69cd58713cf47dee9 100644 (file)
@@ -9,7 +9,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
 \r
 /**\r
-  Return the cast type (Unicast/Boradcast) specific to an\r
+  Return the cast type (Unicast/Broadcast) specific to an\r
   interface. All the addresses are host byte ordered.\r
 \r
   @param[in]  IpAddr                The IP address to classify in host byte order\r
@@ -17,7 +17,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
   @return The cast type of this IP address specific to the interface.\r
   @retval IP4_LOCAL_HOST        The IpAddr equals to the interface's address\r
-  @retval IP4_SUBNET_BROADCAST  The IpAddr is a directed subnet boradcast to  the\r
+  @retval IP4_SUBNET_BROADCAST  The IpAddr is a directed subnet broadcast to  the\r
                                 interface\r
   @retval IP4_NET_BROADCAST     The IpAddr is a network broadcast to the interface\r
   @retval 0                     Otherwise.\r
@@ -182,7 +182,7 @@ Ip4FindNet (
   Find an interface of the service with the same Ip/Netmask pair.\r
 \r
   @param[in]  IpSb                  Ip4 service binding instance\r
-  @param[in]  Ip                    The Ip adress to find (host byte order)\r
+  @param[in]  Ip                    The Ip address to find (host byte order)\r
   @param[in]  Netmask               The network to find (host byte order)\r
 \r
   @return The IP4_INTERFACE point if found, otherwise NULL\r
@@ -266,10 +266,10 @@ Ip4NtohHead (
 /**\r
   Validate that Ip/Netmask pair is OK to be used as station\r
   address. Only continuous netmasks are supported. and check\r
-  that StationAddress is a unicast address on the newtwork.\r
+  that StationAddress is a unicast address on the network.\r
 \r
   @param[in]  Ip                 The IP address to validate.\r
-  @param[in]  Netmask            The netmaks of the IP.\r
+  @param[in]  Netmask            The netmask of the IP.\r
 \r
   @retval TRUE                   The Ip/Netmask pair is valid.\r
   @retval FALSE                  The Ip/Netmask pair is invalid.\r