From 3b1464d5ac4e8b917c54b9f29a43ad972d2a2c85 Mon Sep 17 00:00:00 2001 From: rsun3 Date: Fri, 19 Mar 2010 06:55:58 +0000 Subject: git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10288 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | 7 +++---- MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 9 +++++---- MdeModulePkg/Library/DxeNetLib/NetBuffer.c | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'MdeModulePkg/Library') diff --git a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c index 9ed7b8d..d5fddb6 100644 --- a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c +++ b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c @@ -2012,10 +2012,9 @@ IpIoFindSender ( @param[in] IcmpError IcmpError Type. @param[in] IpVersion The version of the IP protocol to use, - either IPv4 or IPv6. - - @param[out] IsHard Whether it is a hard error. - @param[out] Notify Whether it need to notify SockError. + either IPv4 or IPv6. + @param[out] IsHard If TRUE, indicates that it is a hard error. + @param[out] Notify If TRUE, SockError needs to be notified. @return ICMP Error Status, such as EFI_NETWORK_UNREACHABLE. diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c index 5037243..034031d 100644 --- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c +++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c @@ -901,7 +901,7 @@ NetGetUint32 ( byte stream. @param[in, out] Buf The buffer to put the UINT32. - @param[in] Data The data to put. + @param[in] Data The data to be converted and put into the byte stream. **/ VOID @@ -2158,9 +2158,10 @@ NetLibGetMacString ( Note: there will be two limitations for current algorithm: 1) for UNDI with this capability, in case of cable is not attached, there will be an redundant Stop/Start() process; - 2) for UNDI without this capability, in case cable is attached in UNDI - initialize while unattached latter, NetLibDetectMedia() will report - MediaPresent as TRUE, this cause upper layer apps wait for timeout time. + 2) for UNDI without this capability, in case that network cable is attached when + Snp->Initialize() is invoked while network cable is unattached later, + NetLibDetectMedia() will report MediaPresent as TRUE, causing upper layer + apps to wait for timeout time. @param[in] ServiceHandle The handle where network service binding protocols are installed on. diff --git a/MdeModulePkg/Library/DxeNetLib/NetBuffer.c b/MdeModulePkg/Library/DxeNetLib/NetBuffer.c index 76b6510..139735e 100644 --- a/MdeModulePkg/Library/DxeNetLib/NetBuffer.c +++ b/MdeModulePkg/Library/DxeNetLib/NetBuffer.c @@ -1556,8 +1556,8 @@ NetbufQueCopy ( /** - Trim Len bytes of data from the queue header, release any of the net buffer - whom is trimmed wholely. + Trim Len bytes of data from the buffer queue and free any net buffer + that is completely trimmed. The trimming operation is the same as NetbufTrim but applies to the net buffer queue instead of the net buffer. -- cgit v1.1