/* A 32 bit pseudo-random number is generated using a fast algorithm suitable for simulation. This algorithm is NOT considered safe for cryptographic use.  */
u32 random32(void)
/* A 32 bit pseudo-random number is generated using a fast algorithm suitable for simulation. This algorithm is NOT considered safe for cryptographic use.  */
u32 random32(void)
{
	unsigned long r;
	struct rnd_state *state = &get_cpu_var(net_rand_state);
	r = __random32(state);
	put_cpu_var(state);
	return r;
}