X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=NetworkPkg%2FUdp6Dxe%2FUdp6Impl.h;h=9ca4f4a011d03bf4742abfa653c1d1acdaa7736d;hp=108e30b71c74d1cabc160781a93f14cae30a9841;hb=b7cc5bf180e9deefc91a5e66e0b80fd222503608;hpb=a3bcde70e6dc69000f85cc5deee98101d2ae200a diff --git a/NetworkPkg/Udp6Dxe/Udp6Impl.h b/NetworkPkg/Udp6Dxe/Udp6Impl.h index 108e30b71c..9ca4f4a011 100644 --- a/NetworkPkg/Udp6Dxe/Udp6Impl.h +++ b/NetworkPkg/Udp6Dxe/Udp6Impl.h @@ -1,7 +1,7 @@ /** @file Udp6 driver's whole implementation and internal data structures. - Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -30,11 +30,13 @@ #include #include #include +#include #include "Udp6Driver.h" extern EFI_COMPONENT_NAME2_PROTOCOL gUdp6ComponentName2; extern EFI_COMPONENT_NAME_PROTOCOL gUdp6ComponentName; +extern EFI_UNICODE_STRING_TABLE *gUdp6ControllerNameTable; extern EFI_SERVICE_BINDING_PROTOCOL mUdp6ServiceBinding; extern EFI_UDP6_PROTOCOL mUdp6Protocol; extern UINT16 mUdp6RandomPort; @@ -97,7 +99,7 @@ typedef struct _UDP6_INSTANCE_DATA { UINT16 HeadSum; EFI_STATUS IcmpError; IP_IO_IP_INFO *IpInfo; - BOOLEAN Destroyed; + BOOLEAN InDestroy; } UDP6_INSTANCE_DATA; typedef struct _UDP6_RXDATA_WRAP { @@ -107,6 +109,12 @@ typedef struct _UDP6_RXDATA_WRAP { EFI_UDP6_RECEIVE_DATA RxData; } UDP6_RXDATA_WRAP; +typedef struct { + EFI_SERVICE_BINDING_PROTOCOL *ServiceBinding; + UINTN NumberOfChildren; + EFI_HANDLE *ChildHandleBuffer; +} UDP6_DESTROY_CHILD_IN_HANDLE_BUF_CONTEXT; + /** Clean the Udp service context data.