summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_id.c
AgeCommit message (Expand)Author
2021-03-10spellingJonathan Gray
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2011-03-31- use nitems(); no binary changeJasper Lievisse Adriaanse
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
2008-03-15revert - I'm a dumbfuck who doesn't know his own APIDamien Miller
2008-03-15off by one at end of arrayDamien Miller
2008-03-15Because the ip_id code initialisation is a specific case of shufflingDamien Miller
2008-03-02because arc4random_uniform is being used, the modulo bias is taken care ofTheo de Raadt
2008-03-02Add a arc4random_uniform() that returns a uniformly distributed numberDamien Miller
2008-02-29replacement algorithm. initialize a 64K-short buffer using DurstenfeldTheo de Raadt
2007-11-26typos; ok jmc@Martynas Venckus
2007-05-27remove more static to avoid confusing the profiler (and maybe ddb too)David Gwynne
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
2004-03-22spelling; jjy2+@pitt.eduTheo de Raadt
2003-12-12niels kindly dropped clause 3/4 from the license. tnx!Jun-ichiro itojun Hagino
2003-12-12previous commit included bad hunk. sorryJun-ichiro itojun Hagino
2003-12-12no need to call arc4random() if we don't skip numbers in ip_randomid().Jun-ichiro itojun Hagino
2003-12-10correct non-repetitive ID code, based on comments from niels provos.Jun-ichiro itojun Hagino
2003-09-21"exp" is a reserved symbol under gcc3/posix. mcbride okJun-ichiro itojun Hagino
2002-03-15Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2001-06-08Cut down on include files.Angelos D. Keromytis
2001-06-04use faster arc4random() for small amounts fo data, some spaces; niels okMichael Shalayeff
1999-08-26add an inner xor to make prediction attacks against the ids harder, dueNiels Provos
1998-12-26make ip_id random but ensure that ids dont repeat for some period.Niels Provos