/* Returns 0 if the z/VM user ID @ipvmid is allowed to connection, otherwise non-zero.  */
static int hvc_iucv_filter_connreq(u8 ipvmid[8])
/* Returns 0 if the z/VM user ID @ipvmid is allowed to connection, otherwise non-zero.  */
static int hvc_iucv_filter_connreq(u8 ipvmid[8])
{
	size_t i;
	if (!hvc_iucv_filter_size)
		return 0;
	for (i = 0; i < hvc_iucv_filter_size; i++)
		if (0 == memcmp(ipvmid, hvc_iucv_filter + (8 * i), 8))
			return 0;
	return 1;
}