summaryrefslogtreecommitdiff
path: root/NetworkPkg/TcpDxe/TcpTimer.c
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2021-11-16 19:21:32 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-07 17:24:28 +0000
commitc49ca4a29ed6076bc2a8fc443130f98c0ed69eda (patch)
tree5530a5b3627701c42e834ae3aced4cd23ab8fe6c /NetworkPkg/TcpDxe/TcpTimer.c
parent5f289f3ae3e9fbe6ff5b82d0e25e87bfb7899766 (diff)
downloadedk2-c49ca4a29ed6076bc2a8fc443130f98c0ed69eda.zip
edk2-c49ca4a29ed6076bc2a8fc443130f98c0ed69eda.tar.gz
edk2-c49ca4a29ed6076bc2a8fc443130f98c0ed69eda.tar.bz2
NetworkPkg: Change use of EFI_D_* to DEBUG_*
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739 Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines. Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Diffstat (limited to 'NetworkPkg/TcpDxe/TcpTimer.c')
-rw-r--r--NetworkPkg/TcpDxe/TcpTimer.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/NetworkPkg/TcpDxe/TcpTimer.c b/NetworkPkg/TcpDxe/TcpTimer.c
index 106d947..04caf8e 100644
--- a/NetworkPkg/TcpDxe/TcpTimer.c
+++ b/NetworkPkg/TcpDxe/TcpTimer.c
@@ -148,7 +148,7 @@ TcpConnectTimeout (
{
if (!TCP_CONNECTED (Tcb->State)) {
DEBUG (
- (EFI_D_ERROR,
+ (DEBUG_ERROR,
"TcpConnectTimeout: connection closed because connection timer timeout for TCB %p\n",
Tcb)
);
@@ -159,7 +159,7 @@ TcpConnectTimeout (
if (TCP_SYN_RCVD == Tcb->State) {
DEBUG (
- (EFI_D_WARN,
+ (DEBUG_WARN,
"TcpConnectTimeout: send reset because connection timer timeout for TCB %p\n",
Tcb)
);
@@ -187,7 +187,7 @@ TcpRexmitTimeout (
UINT32 FlightSize;
DEBUG (
- (EFI_D_WARN,
+ (DEBUG_WARN,
"TcpRexmitTimeout: transmission timeout for TCB %p\n",
Tcb)
);
@@ -207,7 +207,7 @@ TcpRexmitTimeout (
if ((Tcb->LossTimes > Tcb->MaxRexmit) && !TCP_TIMER_ON (Tcb->EnabledTimer, TCP_TIMER_CONNECT)) {
DEBUG (
- (EFI_D_ERROR,
+ (DEBUG_ERROR,
"TcpRexmitTimeout: connection closed because too many timeouts for TCB %p\n",
Tcb)
);
@@ -299,7 +299,7 @@ TcpFinwait2Timeout (
)
{
DEBUG (
- (EFI_D_WARN,
+ (DEBUG_WARN,
"TcpFinwait2Timeout: connection closed because FIN_WAIT2 timer timeouts for TCB %p\n",
Tcb)
);
@@ -319,7 +319,7 @@ Tcp2MSLTimeout (
)
{
DEBUG (
- (EFI_D_WARN,
+ (DEBUG_WARN,
"Tcp2MSLTimeout: connection closed because TIME_WAIT timer timeouts for TCB %p\n",
Tcb)
);
@@ -584,4 +584,3 @@ TcpTicking (
{
QueueDpc (TPL_CALLBACK, TcpTickingDpc, Context);
}
-