diff options
Diffstat (limited to 'MdeModulePkg/Universal/Network/Tcp4Dxe')
10 files changed, 1 insertions, 40 deletions
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c index b744f68920..32542094c7 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c @@ -20,7 +20,6 @@ Abstract: #include "SockImpl.h"
-STATIC
UINT32
SockTcpDataToRcv (
IN SOCK_BUFFER *SockBuffer,
@@ -28,7 +27,6 @@ SockTcpDataToRcv ( IN UINT32 BufLen
);
-STATIC
VOID
SockProcessSndToken (
IN SOCKET *Sock
@@ -56,7 +54,6 @@ SockFreeFoo ( @return The length of the data can be retreived.
**/
-STATIC
UINT32
SockTcpDataToRcv (
IN SOCK_BUFFER *SockBuffer,
@@ -312,7 +309,6 @@ SockProcessTcpSndData ( @return None.
**/
-STATIC
VOID
SockFlushPendingToken (
IN SOCKET *Sock,
@@ -350,7 +346,6 @@ SockFlushPendingToken ( @return None.
**/
-STATIC
VOID
SockWakeConnToken (
IN SOCKET *Sock
@@ -378,7 +373,6 @@ SockWakeConnToken ( @return None.
**/
-STATIC
VOID
SockWakeListenToken (
IN SOCKET *Sock
@@ -425,7 +419,6 @@ SockWakeListenToken ( @return None.
**/
-STATIC
VOID
SockWakeRcvToken (
IN SOCKET *Sock
@@ -472,7 +465,6 @@ SockWakeRcvToken ( @return None.
**/
-STATIC
VOID
SockProcessSndToken (
IN SOCKET *Sock
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockInterface.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockInterface.c index c3a0b91dea..1c78147b1b 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockInterface.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockInterface.c @@ -32,7 +32,6 @@ Abstract: FALSE, the specific Event is not in the List.
**/
-STATIC
BOOLEAN
SockTokenExistedInList (
IN LIST_ENTRY *List,
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c index d63c294945..b2f93b45df 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c @@ -23,7 +23,6 @@ Abstract: #define TCP_COMP_VAL(Min, Max, Default, Val) \
((((Val) <= (Max)) && ((Val) >= (Min))) ? (Val) : (Default))
-STATIC
EFI_STATUS
Tcp4Route (
IN TCP_CB *Tcb,
@@ -84,7 +83,6 @@ Returns: instance hasn't been started.
**/
-STATIC
EFI_STATUS
Tcp4GetMode (
IN TCP_CB *Tcb,
@@ -167,7 +165,6 @@ Tcp4GetMode ( @retval EFI_OUT_OF_RESOURCES No port can be allocated.
**/
-STATIC
EFI_STATUS
Tcp4Bind (
IN EFI_TCP4_ACCESS_POINT *AP
@@ -230,7 +227,6 @@ Tcp4Bind ( @retval EFI_SUCCESS The operation is completed successfully.
**/
-STATIC
VOID
Tcp4FlushPcb (
IN TCP_CB *Tcb
@@ -264,7 +260,6 @@ Tcp4FlushPcb ( NetbufFreeList (&Tcb->RcvQue);
}
-STATIC
EFI_STATUS
Tcp4AttachPcb (
IN SOCKET *Sk
@@ -307,7 +302,6 @@ Tcp4AttachPcb ( return EFI_SUCCESS;
}
-STATIC
VOID
Tcp4DetachPcb (
IN SOCKET *Sk
@@ -344,7 +338,6 @@ Tcp4DetachPcb ( @retval EFI_OUT_OF_RESOURCES Failed due to resource limit.
**/
-STATIC
EFI_STATUS
Tcp4ConfigurePcb (
IN SOCKET *Sk,
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Driver.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Driver.c index 818b4e1662..9d9cc69003 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Driver.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Driver.c @@ -84,7 +84,6 @@ EFI_SERVICE_BINDING_PROTOCOL mTcp4ServiceBinding = { @retval other The timer is not created.
**/
-STATIC
EFI_STATUS
Tcp4CreateTimer (
VOID
@@ -130,7 +129,6 @@ Tcp4CreateTimer ( @return None.
**/
-STATIC
VOID
Tcp4DestroyTimer (
VOID
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c index 3e6a6f547b..8ef2432f0d 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c @@ -274,7 +274,6 @@ TcpComputeRtt ( @return 0, the data is successfully trimmed.
**/
-STATIC
INTN
TcpTrimSegment (
IN NET_BUF *Nbuf,
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Main.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Main.c index 8fe893e48a..9673b7b918 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Main.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Main.c @@ -35,7 +35,6 @@ Abstract: @retval EFI_INVALID_PARAMETER The integrity check is failed.
**/
-STATIC
EFI_STATUS
Tcp4ChkDataBuf (
IN UINT32 DataLen,
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c index 446cb9b11c..12f5e4354e 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c @@ -186,7 +186,6 @@ TcpInitTcbPeer ( @return Pointer to the TCP_CB with the least number of wildcard, if NULL no match is found.
**/
-STATIC
TCP_CB *
TcpLocateListenTcb (
IN TCP_PEER *Local,
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Option.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Option.c index 310fa054d1..95f5a8e44a 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Option.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Option.c @@ -22,7 +22,6 @@ Abstract: #include "Tcp4Main.h"
-STATIC
UINT16
TcpGetUint16 (
IN UINT8 *Buf
@@ -44,7 +43,6 @@ TcpGetUint16 ( // CopyMem (Buf, &Data, sizeof (UINT16));
// }
-STATIC
UINT32
TcpGetUint32 (
IN UINT8 *Buf
@@ -55,7 +53,6 @@ TcpGetUint32 ( return NTOHL (Value);
}
-STATIC
VOID
TcpPutUint32 (
IN UINT8 *Buf,
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c index f1bc83e20b..82170e23f3 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c @@ -22,7 +22,7 @@ Abstract: #include "Tcp4Main.h"
-STATIC UINT8 mTcpOutFlag[] = {
+UINT8 mTcpOutFlag[] = {
0, // TCP_CLOSED
0, // TCP_LISTEN
TCP_FLG_SYN, // TCP_SYN_SENT
@@ -122,7 +122,6 @@ TcpRcvWinNow ( @return The value of the local receive window size used to fill the outing segment.
**/
-STATIC
UINT16
TcpComputeWnd (
IN TCP_CB *Tcb,
@@ -295,7 +294,6 @@ SetPersistTimer: @retval other Error condition occurred.
**/
-STATIC
INTN
TcpTransmitSegment (
IN TCP_CB *Tcb,
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Timer.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Timer.c index 5e957dc918..0b151795ab 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Timer.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Timer.c @@ -24,37 +24,31 @@ Abstract: UINT32 mTcpTick = 1000;
-STATIC
VOID
TcpConnectTimeout (
IN TCP_CB *Tcb
);
-STATIC
VOID
TcpRexmitTimeout (
IN TCP_CB *Tcb
);
-STATIC
VOID
TcpProbeTimeout (
IN TCP_CB *Tcb
);
-STATIC
VOID
TcpKeepaliveTimeout (
IN TCP_CB *Tcb
);
-STATIC
VOID
TcpFinwait2Timeout (
IN TCP_CB *Tcb
);
-STATIC
VOID
Tcp2MSLTimeout (
IN TCP_CB *Tcb
@@ -98,7 +92,6 @@ TcpClose ( @return None.
**/
-STATIC
VOID
TcpConnectTimeout (
IN TCP_CB *Tcb
@@ -133,7 +126,6 @@ TcpConnectTimeout ( @return None.
**/
-STATIC
VOID
TcpRexmitTimeout (
IN TCP_CB *Tcb
@@ -188,7 +180,6 @@ TcpRexmitTimeout ( @return None.
**/
-STATIC
VOID
TcpProbeTimeout (
IN TCP_CB *Tcb
@@ -219,7 +210,6 @@ TcpProbeTimeout ( @return None.
**/
-STATIC
VOID
TcpKeepaliveTimeout (
IN TCP_CB *Tcb
@@ -253,7 +243,6 @@ TcpKeepaliveTimeout ( @return None.
**/
-STATIC
VOID
TcpFinwait2Timeout (
IN TCP_CB *Tcb
@@ -274,7 +263,6 @@ TcpFinwait2Timeout ( @return None.
**/
-STATIC
VOID
Tcp2MSLTimeout (
IN TCP_CB *Tcb
@@ -297,7 +285,6 @@ Tcp2MSLTimeout ( @return None.
**/
-STATIC
VOID
TcpUpdateTimer (
IN TCP_CB *Tcb
|