freebsd-dev/sys/contrib
David Malone 1f44b0a1b5 Get rid of the RANDOM_IP_ID option and make it a sysctl. NetBSD
have already done this, so I have styled the patch on their work:

        1) introduce a ip_newid() static inline function that checks
        the sysctl and then decides if it should return a sequential
        or random IP ID.

        2) named the sysctl net.inet.ip.random_id

        3) IPv6 flow IDs and fragment IDs are now always random.
        Flow IDs and frag IDs are significantly less common in the
        IPv6 world (ie. rarely generated per-packet), so there should
        be smaller performance concerns.

The sysctl defaults to 0 (sequential IP IDs).

Reviewed by:	andre, silby, mlaier, ume
Based on:	NetBSD
MFC after:	2 months
2004-08-14 15:32:40 +00:00
..
altq/altq Disable "bulk dequeue" when enabling ALTQ so it does not irritate the 2004-06-15 23:59:37 +00:00
dev Since if_oltr doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-14 00:19:07 +00:00
ia64/libuwx Update to BETA 7. Besides C++ support, which is irrelevant to us, 2004-05-09 03:06:25 +00:00
ipfilter/netinet Clean up a bunch of white-space difference with IPFilter source as well as 2004-07-11 10:13:05 +00:00
ngatm Exclusion list for easier import. 2004-08-11 12:25:09 +00:00
pf Get rid of the RANDOM_IP_ID option and make it a sysctl. NetBSD 2004-08-14 15:32:40 +00:00