]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/Efi/EfiSocketLib.h
StdLib: Remove EfiSocketLib and Ip4Config Protocol dependency.
[mirror_edk2.git] / StdLib / Include / Efi / EfiSocketLib.h
index 802fbca40b0258fa1e11c02cbaf062ac062a1131..7618d02801ac1ca84a9befe938abf6eadf8e73ef 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Definitions for the EFI Socket layer library.\r
 \r
-  Copyright (c) 2011, Intel Corporation\r
+  Copyright (c) 2011 - 2015, Intel Corporation\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 #include <Library/UefiLib.h>\r
 \r
 #include <Protocol/EfiSocket.h>\r
+#include <Protocol/Ip4Config2.h>\r
+#include <Protocol/Ip6Config.h>\r
 #include <Protocol/ServiceBinding.h>\r
 #include <Protocol/Tcp4.h>\r
+#include <Protocol/Tcp6.h>\r
 #include <Protocol/Udp4.h>\r
+#include <Protocol/Udp6.h>\r
 \r
 #include <sys/time.h>\r
 \r
 **/\r
 #define RAISE_TPL(PreviousTpl, tpl)     \\r
   VERIFY_TPL ( tpl );                   \\r
-  PreviousTpl = gBS->RaiseTPL ( tpl );  \\r
-  DEBUG (( DEBUG_TPL | DEBUG_TPL,       \\r
-          "%d: TPL\r\n",                \\r
-          tpl ))\r
+  PreviousTpl = gBS->RaiseTPL ( tpl );\r
 \r
 /**\r
   Restore the TPL to the previous value\r
 **/\r
 #define RESTORE_TPL(tpl)            \\r
-  DEBUG (( DEBUG_TPL | DEBUG_TPL,   \\r
-          "%d: TPL\r\n",            \\r
-          tpl ));                   \\r
   gBS->RestoreTPL ( tpl )\r
 \r
 //------------------------------------------------------------------------------\r
@@ -154,8 +152,11 @@ typedef struct {
 //------------------------------------------------------------------------------\r
 \r
 extern CONST EFI_GUID mEslIp4ServiceGuid;   ///<  Tag GUID for the IPv4 layer\r
+extern CONST EFI_GUID mEslIp6ServiceGuid;   ///<  Tag GUID for the IPv6 layer\r
 extern CONST EFI_GUID mEslTcp4ServiceGuid;  ///<  Tag GUID for the TCPv4 layer\r
+extern CONST EFI_GUID mEslTcp6ServiceGuid;  ///<  Tag GUID for the TCPv6 layer\r
 extern CONST EFI_GUID mEslUdp4ServiceGuid;  ///<  Tag GUID for the UDPv4 layer\r
+extern CONST EFI_GUID mEslUdp6ServiceGuid;  ///<  Tag GUID for the UDPv6 layer\r
 \r
 //------------------------------------------------------------------------------\r
 // Data\r