]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Udp6Dxe/Udp6Impl.h
1. Add EFI_COMPONENT_NAME2_PROTOCOL.GetControllerName() support.
[mirror_edk2.git] / NetworkPkg / Udp6Dxe / Udp6Impl.h
index 108e30b71c74d1cabc160781a93f14cae30a9841..9ca4f4a011d03bf4742abfa653c1d1acdaa7736d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Udp6 driver's whole implementation and internal data structures.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/DpcLib.h>\r
+#include <Library/PrintLib.h>\r
 \r
 #include "Udp6Driver.h"\r
 \r
 extern EFI_COMPONENT_NAME2_PROTOCOL   gUdp6ComponentName2;\r
 extern EFI_COMPONENT_NAME_PROTOCOL    gUdp6ComponentName;\r
+extern EFI_UNICODE_STRING_TABLE       *gUdp6ControllerNameTable;\r
 extern EFI_SERVICE_BINDING_PROTOCOL   mUdp6ServiceBinding;\r
 extern EFI_UDP6_PROTOCOL              mUdp6Protocol;\r
 extern UINT16                         mUdp6RandomPort;\r
@@ -97,7 +99,7 @@ typedef struct _UDP6_INSTANCE_DATA {
   UINT16                HeadSum;\r
   EFI_STATUS            IcmpError;\r
   IP_IO_IP_INFO         *IpInfo;\r
-  BOOLEAN               Destroyed;\r
+  BOOLEAN               InDestroy;\r
 } UDP6_INSTANCE_DATA;\r
 \r
 typedef struct _UDP6_RXDATA_WRAP {\r
@@ -107,6 +109,12 @@ typedef struct _UDP6_RXDATA_WRAP {
   EFI_UDP6_RECEIVE_DATA  RxData;\r
 } UDP6_RXDATA_WRAP;\r
 \r
+typedef struct {\r
+  EFI_SERVICE_BINDING_PROTOCOL  *ServiceBinding;\r
+  UINTN                         NumberOfChildren;\r
+  EFI_HANDLE                    *ChildHandleBuffer;\r
+} UDP6_DESTROY_CHILD_IN_HANDLE_BUF_CONTEXT;\r
+\r
 /**\r
   Clean the Udp service context data.\r
 \r