wiz
d46bc94200
Niels Provos kindly agreed to drop clauses 3 and 4 from the
...
license -- thanks.
Based on OpenBSD commit and hints by itojun.
2003-12-26 19:04:55 +00:00
itojun
c81f32fe6c
comment from niels provos;
...
- seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x".
- skipping number is not needed, so disable it for 16bit generator (makes
the repetition period to 30000)
2003-12-10 05:22:18 +00:00
itojun
b6a2cef9dc
"seed2" was ruining the non-repeating property of this function; remove it.
...
discussed on tech-net for ip_id.c (thanks for all the analysis).
2003-11-25 18:13:06 +00:00
simonb
49b0281b33
Shut lint up.
2003-09-16 07:56:51 +00:00
itojun
94da0d16ac
avoid overflow during multiply. David Laight
2003-09-15 23:38:20 +00:00
itojun
220a141637
correct setup of ru_b/a for 16/20 bit case
2003-09-13 21:29:57 +00:00
itojun
1ecc9b581c
use internal names for randomid()
2003-09-13 21:27:43 +00:00
itojun
07f2a2a309
check malloc failure. yamt
2003-09-11 11:24:33 +00:00
tls
ef0a2c06dc
Another gcc3 problem: "exp" shadows a builtin. Rename it to "expo".
2003-09-10 07:20:13 +00:00
tls
732fa344d5
This didn't build with gcc3 because it was missing <string.h> for memset.
2003-09-10 07:12:33 +00:00
itojun
00552ebbd7
add randomid(3).
2003-09-09 22:10:33 +00:00