/* Delete or update Neighbor cache entries. It is a work function for EfiIp6Neighbors(). */
EFI_STATUS Ip6DelNeighbor(IN IP6_SERVICE *IpSb, IN EFI_IPv6_ADDRESS *TargetIp6Address, IN EFI_MAC_ADDRESS *TargetLinkAddress OPTIONAL, IN UINT32 Timeout, IN BOOLEAN Override)
/* Delete or update Neighbor cache entries. It is a work function for EfiIp6Neighbors(). */
EFI_STATUS Ip6DelNeighbor(IN IP6_SERVICE *IpSb, IN EFI_IPv6_ADDRESS *TargetIp6Address, IN EFI_MAC_ADDRESS *TargetLinkAddress OPTIONAL, IN UINT32 Timeout, IN BOOLEAN Override)
{
  IP6_NEIGHBOR_ENTRY  *Neighbor;
  Neighbor = Ip6FindNeighborEntry (IpSb, TargetIp6Address);
  if (Neighbor == NULL) {
    return EFI_NOT_FOUND;
  }
  RemoveEntryList (&Neighbor->Link);
  FreePool (Neighbor);
  return EFI_SUCCESS;
}