dwmalone
5df13d37b2
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
..
2004-08-14 14:21:09 +00:00
2004-05-30 20:27:19 +00:00
2004-06-14 18:16:22 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2003-11-08 23:36:32 +00:00
2004-06-13 10:54:36 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-06-11 03:42:37 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-06-18 02:04:07 +00:00
2003-10-07 17:46:18 +00:00
2004-08-11 04:35:20 +00:00
2004-08-04 18:27:55 +00:00
2004-06-16 23:24:02 +00:00
2003-11-20 20:07:39 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-08-11 11:49:48 +00:00
2004-08-11 11:49:48 +00:00
2004-04-07 20:46:16 +00:00
2004-08-11 20:30:08 +00:00
2004-02-25 19:55:29 +00:00
2004-07-15 08:26:07 +00:00
2004-02-25 19:55:29 +00:00
2003-10-29 15:07:04 +00:00
2003-10-29 15:07:04 +00:00
2004-03-10 02:48:50 +00:00
2004-08-11 12:32:10 +00:00
2004-08-12 22:06:55 +00:00
2004-08-12 22:06:55 +00:00
2004-03-22 16:04:43 +00:00
2004-07-17 05:10:06 +00:00
2004-04-07 20:46:16 +00:00
2004-08-14 15:32:40 +00:00
2004-08-14 15:32:40 +00:00
2004-08-14 15:32:40 +00:00
2004-04-07 20:46:16 +00:00
2004-08-14 15:32:40 +00:00
2004-08-14 15:32:40 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2003-08-07 18:17:43 +00:00
2004-03-08 07:45:32 +00:00
2004-08-14 15:32:40 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-08-11 17:08:31 +00:00
2004-07-12 19:28:07 +00:00
2004-07-28 02:15:14 +00:00
2004-07-12 19:28:07 +00:00
2004-06-23 21:04:37 +00:00
2004-06-23 21:04:37 +00:00
2004-08-12 18:19:36 +00:00
2004-08-14 15:32:40 +00:00
2004-06-23 21:04:37 +00:00
2004-04-07 20:46:16 +00:00
2004-08-12 18:19:36 +00:00
2004-08-14 15:32:40 +00:00
2004-07-17 19:44:13 +00:00
2004-06-23 21:04:37 +00:00
2004-04-07 20:46:16 +00:00
2004-08-12 01:34:27 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00