Searched refs:ru_n (Results 1 - 1 of 1) sorted by relevance

/freebsd-10-stable/sys/netinet6/
H A Dip6_id.c113 const u_int32_t ru_n; /* ru_n: prime, ru_n - 1: product of pfacts[] */ member in struct:randomtab
116 const u_int32_t pfacts[4]; /* factors of ru_n */
136 { 2, 3, 59652323, 0 }, /* factors of ru_n */
147 { 2, 3, 14563, 0 }, /* factors of ru_n */
203 j = arc4random() % p->ru_n;
218 j = (j + 1) % p->ru_n;
221 p->ru_g = pmod(p->ru_gen, j, p->ru_n);
248 return (p->ru_seed ^ pmod(p->ru_g, p->ru_seed2 + p->ru_x, p->ru_n)) |
[all...]

Completed in 48 milliseconds