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>
This commit is contained in:
committed by
mergify[bot]
parent
ba3b642d5b
commit
6c585b52e5
@@ -9,7 +9,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
|
||||
/**
|
||||
Return the cast type (Unicast/Boradcast) specific to an
|
||||
Return the cast type (Unicast/Broadcast) specific to an
|
||||
interface. All the addresses are host byte ordered.
|
||||
|
||||
@param[in] IpAddr The IP address to classify in host byte order
|
||||
@@ -17,7 +17,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
@return The cast type of this IP address specific to the interface.
|
||||
@retval IP4_LOCAL_HOST The IpAddr equals to the interface's address
|
||||
@retval IP4_SUBNET_BROADCAST The IpAddr is a directed subnet boradcast to the
|
||||
@retval IP4_SUBNET_BROADCAST The IpAddr is a directed subnet broadcast to the
|
||||
interface
|
||||
@retval IP4_NET_BROADCAST The IpAddr is a network broadcast to the interface
|
||||
@retval 0 Otherwise.
|
||||
@@ -182,7 +182,7 @@ Ip4FindNet (
|
||||
Find an interface of the service with the same Ip/Netmask pair.
|
||||
|
||||
@param[in] IpSb Ip4 service binding instance
|
||||
@param[in] Ip The Ip adress to find (host byte order)
|
||||
@param[in] Ip The Ip address to find (host byte order)
|
||||
@param[in] Netmask The network to find (host byte order)
|
||||
|
||||
@return The IP4_INTERFACE point if found, otherwise NULL
|
||||
@@ -266,10 +266,10 @@ Ip4NtohHead (
|
||||
/**
|
||||
Validate that Ip/Netmask pair is OK to be used as station
|
||||
address. Only continuous netmasks are supported. and check
|
||||
that StationAddress is a unicast address on the newtwork.
|
||||
that StationAddress is a unicast address on the network.
|
||||
|
||||
@param[in] Ip The IP address to validate.
|
||||
@param[in] Netmask The netmaks of the IP.
|
||||
@param[in] Netmask The netmask of the IP.
|
||||
|
||||
@retval TRUE The Ip/Netmask pair is valid.
|
||||
@retval FALSE The Ip/Netmask pair is invalid.
|
||||
|
Reference in New Issue
Block a user