summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c
diff options
context:
space:
mode:
authorGiri P Mudusuru <giri.p.mudusuru@intel.com>2016-07-08 14:21:04 +0800
committerLiming Gao <liming.gao@intel.com>2016-07-11 10:29:48 +0800
commit2048c585b46d240d76e3097917cbbfe43a7be88e (patch)
tree1ca1fdafd9d8b42828b73f5b04697034d2afcef0 /MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c
parent241993480e8e9ff4526e206ba8e4fa97e695ed4a (diff)
downloadedk2-platforms-2048c585b46d240d76e3097917cbbfe43a7be88e.tar.xz
MdeModulePkg: Fix typos in comments and variables
- abstrated to abstracted - accessibla to accessible - addres to address - apropriate to appropriate - arry to array - availabe to available - avaliable to available - becasue to because - correponding to corresponding - etablished to established - exeuction to execution - extensiable to extensible - fileds to fields - loadding to loading - ptototypes to prototypes - prococol protocol - requried to required - resoruce to resource - runing to running - uild to build Cc: Star Zeng <star.zeng@intel.com> Cc: Feng Tian <feng.tian@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Giri P Mudusuru <giri.p.mudusuru@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c')
-rw-r--r--MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c
index df95077aac..b258439a50 100644
--- a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c
+++ b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c
@@ -200,10 +200,10 @@ Udp4DeliverDgram (
);
/**
- This function demultiplexes the received udp datagram to the apropriate instances.
+ This function demultiplexes the received udp datagram to the appropriate instances.
@param[in] Udp4Service Pointer to the udp service context data.
- @param[in] NetSession Pointer to the EFI_NET_SESSION_DATA abstrated from
+ @param[in] NetSession Pointer to the EFI_NET_SESSION_DATA abstracted from
the received datagram.
@param[in] Packet Pointer to the buffer containing the received udp
datagram.
@@ -1586,10 +1586,10 @@ Udp4DeliverDgram (
/**
- This function demultiplexes the received udp datagram to the apropriate instances.
+ This function demultiplexes the received udp datagram to the appropriate instances.
@param[in] Udp4Service Pointer to the udp service context data.
- @param[in] NetSession Pointer to the EFI_NET_SESSION_DATA abstrated from
+ @param[in] NetSession Pointer to the EFI_NET_SESSION_DATA abstracted from
the received datagram.
@param[in] Packet Pointer to the buffer containing the received udp
datagram.
@@ -1707,7 +1707,7 @@ Udp4SendPortUnreach (
IpSender = IpIoFindSender (&IpIo, NetSession->IpVersion, &NetSession->Dest);
if (IpSender == NULL) {
//
- // No apropriate sender, since we cannot send out the ICMP message through
+ // No appropriate sender, since we cannot send out the ICMP message through
// the default zero station address IP instance, abort.
//
return;
@@ -1716,7 +1716,7 @@ Udp4SendPortUnreach (
IpHdr = NetSession->IpHdr.Ip4Hdr;
//
- // Calculate the requried length of the icmp error message.
+ // Calculate the required length of the icmp error message.
//
Len = sizeof (IP4_ICMP_ERROR_HEAD) + (EFI_IP4_HEADER_LEN (IpHdr) -
sizeof (IP4_HEAD)) + ICMP_ERROR_PACKET_LENGTH;