Home
last modified time | relevance | path

Searched refs:RU_M (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/net/
Dres_random.c78 #define RU_M 31104 /* RU_M = 2^7*3^5 - don't change */ macro
180 ru_x = arc4random_uniform(RU_M); in res_initid()
190 ru_a = pmod(RU_AGEN, (tmp >> 16) & 0xfffe, RU_M); in res_initid()
246 ru_x = (ru_a * ru_x + ru_b) % RU_M; in __res_randomid()