Lines Matching +full:- +full:seed
2 * Copied from LiMon - BOOTP.
15 * Return a seed for the PRNG derived from the eth0 MAC address.
20 unsigned int seed; in seed_mac() local
25 seed = enetaddr[5]; in seed_mac()
26 seed ^= enetaddr[4] << 8; in seed_mac()
27 seed ^= enetaddr[3] << 16; in seed_mac()
28 seed ^= enetaddr[2] << 24; in seed_mac()
29 seed ^= enetaddr[1]; in seed_mac()
30 seed ^= enetaddr[0] << 8; in seed_mac()
32 return seed; in seed_mac()
36 * Seed the random number generator using the eth0 MAC address.