/* Check if Network Protocol Type matches with SMBIOS Type 42 IP Address Type. */
STATIC BOOLEAN FilterProtocol(IN UINT32 NetworkProtocolType, IN UINT8 IpType)
/* Check if Network Protocol Type matches with SMBIOS Type 42 IP Address Type. */
STATIC BOOLEAN FilterProtocol(IN UINT32 NetworkProtocolType, IN UINT8 IpType)
{
  if (NetworkProtocolType == ProtocolTypeTcp4) {
    return IpType != REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_IP4;
  }
  if (NetworkProtocolType == ProtocolTypeTcp6) {
    return IpType != REDFISH_HOST_INTERFACE_HOST_IP_ADDRESS_FORMAT_IP6;
  }
  return FALSE;
}