]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TcpDxe/SockImpl.c
NetworkPkg: Change use of EFI_D_* to DEBUG_*
[mirror_edk2.git] / NetworkPkg / TcpDxe / SockImpl.c
index 564e621ef93b9905989c23b597336f317bacd9e2..2ab0b691402601a478af68c402a305fcaeac2519 100644 (file)
@@ -381,7 +381,7 @@ SockProcessTcpSndData (
 \r
   if (NULL == SndData) {\r
     DEBUG (\r
-      (EFI_D_ERROR,\r
+      (DEBUG_ERROR,\r
       "SockKProcessSndData: Failed to call NetBufferFromExt\n")\r
       );\r
 \r
@@ -516,7 +516,7 @@ SockWakeListenToken (
 \r
     Parent->ConnCnt--;\r
     DEBUG (\r
-      (EFI_D_NET,\r
+      (DEBUG_NET,\r
       "SockWakeListenToken: accept a socket, now conncnt is %d",\r
       Parent->ConnCnt)\r
       );\r
@@ -667,7 +667,7 @@ SockCreate (
 \r
   if ((Parent != NULL) && (Parent->ConnCnt == Parent->BackLog)) {\r
     DEBUG (\r
-      (EFI_D_ERROR,\r
+      (DEBUG_ERROR,\r
       "SockCreate: Socket parent has reached its connection limit with %d ConnCnt and %d BackLog\n",\r
       Parent->ConnCnt,\r
       Parent->BackLog)\r
@@ -679,7 +679,7 @@ SockCreate (
   Sock = AllocateZeroPool (sizeof (SOCKET));\r
   if (NULL == Sock) {\r
 \r
-    DEBUG ((EFI_D_ERROR, "SockCreate: No resource to create a new socket\n"));\r
+    DEBUG ((DEBUG_ERROR, "SockCreate: No resource to create a new socket\n"));\r
     return NULL;\r
   }\r
 \r
@@ -695,7 +695,7 @@ SockCreate (
   Sock->SndBuffer.DataQueue = NetbufQueAlloc ();\r
   if (NULL == Sock->SndBuffer.DataQueue) {\r
     DEBUG (\r
-      (EFI_D_ERROR,\r
+      (DEBUG_ERROR,\r
       "SockCreate: No resource to allocate SndBuffer for new socket\n")\r
       );\r
 \r
@@ -705,7 +705,7 @@ SockCreate (
   Sock->RcvBuffer.DataQueue = NetbufQueAlloc ();\r
   if (NULL == Sock->RcvBuffer.DataQueue) {\r
     DEBUG (\r
-      (EFI_D_ERROR,\r
+      (DEBUG_ERROR,\r
       "SockCreate: No resource to allocate RcvBuffer for new socket\n")\r
       );\r
 \r
@@ -751,7 +751,7 @@ SockCreate (
 \r
   if (EFI_ERROR (Status)) {\r
     DEBUG (\r
-      (EFI_D_ERROR,\r
+      (DEBUG_ERROR,\r
       "SockCreate: Install TCP protocol in socket failed with %r\n",\r
       Status)\r
       );\r
@@ -770,7 +770,7 @@ SockCreate (
     Parent->ConnCnt++;\r
 \r
     DEBUG (\r
-      (EFI_D_NET,\r
+      (DEBUG_NET,\r
       "SockCreate: Create a new socket and add to parent, now conncnt is %d\n",\r
       Parent->ConnCnt)\r
       );\r
@@ -850,7 +850,7 @@ SockDestroy (
     (Sock->Parent->ConnCnt)--;\r
 \r
     DEBUG (\r
-      (EFI_D_WARN,\r
+      (DEBUG_WARN,\r
       "SockDestroy: Delete a unaccepted socket from parent now conncnt is %d\n",\r
       Sock->Parent->ConnCnt)\r
       );\r
@@ -975,7 +975,7 @@ SockClone (
   ClonedSock               = SockCreate (&InitData);\r
 \r
   if (NULL == ClonedSock) {\r
-    DEBUG ((EFI_D_ERROR, "SockClone: no resource to create a cloned sock\n"));\r
+    DEBUG ((DEBUG_ERROR, "SockClone: no resource to create a cloned sock\n"));\r
     return NULL;\r
   }\r
 \r
@@ -1230,4 +1230,3 @@ SockNoMoreData (
 \r
   }\r
 }\r
-\r