/* Check whether one IP address is filled with ZERO. */
BOOLEAN TcpIsIpZero(IN EFI_IP_ADDRESS *Ip, IN UINT8 Version)
/* Check whether one IP address is filled with ZERO. */
BOOLEAN TcpIsIpZero(IN EFI_IP_ADDRESS *Ip, IN UINT8 Version)
{
  ASSERT ((Version == IP_VERSION_4) || (Version == IP_VERSION_6));
  if (Version == IP_VERSION_4) {
    return (BOOLEAN)(Ip->Addr[0] == 0);
  } else {
    return (BOOLEAN)((Ip->Addr[0] == 0) && (Ip->Addr[1] == 0) &&
                     (Ip->Addr[2] == 0) && (Ip->Addr[3] == 0));
  }
}