Make MdeModulePkg GCC clean.
It also pass ICC+IPF and MYTOOLS+EBC build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3711 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -681,6 +681,8 @@ Tcp4Dispatcher (
|
||||
|
||||
return Tcp4Route (Tcb, (TCP4_ROUTE_INFO *) Data);
|
||||
|
||||
default:
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
|
@@ -35,7 +35,7 @@ NET_LIST_ENTRY mTcpListenQue = {
|
||||
|
||||
TCP_SEQNO mTcpGlobalIss = 0x4d7e980b;
|
||||
|
||||
STATIC CHAR16 *mTcpStateName[] = {
|
||||
CHAR16 *mTcpStateName[] = {
|
||||
L"TCP_CLOSED",
|
||||
L"TCP_LISTEN",
|
||||
L"TCP_SYN_SENT",
|
||||
@@ -267,7 +267,7 @@ TcpFindTcbByPeer (
|
||||
NET_LIST_FOR_EACH (Entry, &mTcpListenQue) {
|
||||
Tcb = NET_LIST_USER_STRUCT (Entry, TCP_CB, List);
|
||||
|
||||
if (EFI_IP4_EQUAL (*Addr, Tcb->LocalEnd.Ip) &&
|
||||
if (EFI_IP4_EQUAL (Addr, &Tcb->LocalEnd.Ip) &&
|
||||
(LocalPort == Tcb->LocalEnd.Port)) {
|
||||
|
||||
return TRUE;
|
||||
@@ -277,7 +277,7 @@ TcpFindTcbByPeer (
|
||||
NET_LIST_FOR_EACH (Entry, &mTcpRunQue) {
|
||||
Tcb = NET_LIST_USER_STRUCT (Entry, TCP_CB, List);
|
||||
|
||||
if (EFI_IP4_EQUAL (*Addr, Tcb->LocalEnd.Ip) &&
|
||||
if (EFI_IP4_EQUAL (Addr, &Tcb->LocalEnd.Ip) &&
|
||||
(LocalPort == Tcb->LocalEnd.Port)) {
|
||||
|
||||
return TRUE;
|
||||
|
@@ -33,7 +33,6 @@ TcpGetUint16 (
|
||||
return NTOHS (Value);
|
||||
}
|
||||
|
||||
STATIC
|
||||
VOID
|
||||
TcpPutUint16 (
|
||||
IN UINT8 *Buf,
|
||||
|
Reference in New Issue
Block a user