/* Destroy the IP instance if its StationAddress is removed. It is the help function for  */
VOID Ip6DestroyInstanceByAddress(IN OUT IP6_SERVICE *IpSb, IN EFI_IPv6_ADDRESS *Address)
/* Destroy the IP instance if its StationAddress is removed. It is the help function for  */
VOID Ip6DestroyInstanceByAddress(IN OUT IP6_SERVICE *IpSb, IN EFI_IPv6_ADDRESS *Address)
{
  LIST_ENTRY                                  *List;
  IP6_DESTROY_CHILD_BY_ADDR_CALLBACK_CONTEXT  Context;
  NET_CHECK_SIGNATURE (IpSb, IP6_SERVICE_SIGNATURE);
  List                   = &IpSb->Children;
  Context.ServiceBinding = &IpSb->ServiceBinding;
  Context.Address        = Address;
  NetDestroyLinkList (
    List,
    Ip6DestroyChildEntryByAddr,
    &Context,
    NULL
    );
}