src/dpdk/drivers/net/bnxt/tf_core/rand.c
uint16_t rand16(void)
{
	bit = ((lfsr >> 0) ^ (lfsr >> 2) ^ (lfsr >> 3) ^ (lfsr >> 5)) & 1;
	return lfsr = (lfsr >> 1) | (bit << 15);
}
/**
 * Generates a 16 bit pseudo random number
 *
 * Returns:
 *   uint16_t number
 */
Generates a 16 bit pseudo random number
Returns:
uint16_t number
Generates a 16 bit pseudo random number Returns : uint16_t number
uint16_t rand16(void)
{
	bit = ((lfsr >> 0) ^ (lfsr >> 2) ^ (lfsr >> 3) ^ (lfsr >> 5)) & 1;
	return lfsr = (lfsr >> 1) | (bit << 15);
}
uint16_t rand16 ( void ) { bit = ( ( lfsr >> 0 ) ^ ( lfsr >> 2 ) ^ ( lfsr >> 3 ) ^ ( lfsr >> 5 ) ) & 1 ; return lfsr = ( lfsr >> 1 ) | ( bit << 15 ) ; }
Generates a 16 bit pseudo random number
 Returns:
   uint16_t number
Generates a 16 bit pseudo random number Returns : uint16_t number