Gerrit Renker
0a4822679d
dccp: Initialisation and type-checking of feature sysctls
...
This patch takes care of initialising and type-checking sysctls related to
feature negotiation. Type checking is important since some of the sysctls
now directly act on the feature-negotiation process.
The sysctls are initialised with the known default values for each feature.
For the type-checking the value constraints from RFC 4340 are used:
* Sequence Window uses the specified Wmin=32, the maximum is ulong (4 bytes),
tested and confirmed that it works up to 4294967295 - for Gbps speed;
* Ack Ratio is between 0 .. 0xffff (2-byte unsigned integer);
* CCIDs are between 0 .. 255;
* request_retries, retries1, retries2 also between 0..255 for good measure;
* tx_qlen is checked to be non-negative;
* sync_ratelimit remains as before.
Further changes:
----------------
Performed s@sysctl_dccp_feat@sysctl_dccp@g since the sysctls are now in feat.c.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
2008-09-04 07:45:32 +02:00
..
2008-08-10 23:32:07 +02:00
2008-08-06 20:14:06 -07:00
2008-07-27 01:26:17 +02:00
2008-07-30 14:21:05 +01:00
2008-07-31 00:38:01 -07:00
2008-07-30 10:10:23 +01:00
2008-08-05 14:33:46 -07:00
2008-07-26 12:00:03 -07:00
2008-08-13 17:33:01 -07:00
2008-07-25 10:53:47 -07:00
2008-08-12 10:13:38 +10:00
2008-07-26 12:00:04 -07:00
2008-08-18 21:40:05 +02:00
2008-08-12 16:07:30 -07:00
2008-08-01 20:31:32 +02:00
2008-08-12 16:07:27 -07:00
2008-08-04 21:56:09 -07:00
2008-08-12 16:07:30 -07:00
2008-08-14 22:59:43 +10:00
2008-07-26 20:53:14 -04:00
2008-08-15 08:35:44 -07:00
2008-07-31 16:21:13 -07:00
2008-07-30 09:41:45 -07:00
2008-07-30 09:41:43 -07:00
2008-07-30 10:35:49 -07:00
2008-07-26 11:26:23 +02:00
2008-08-14 09:35:23 +10:00
2008-07-28 16:58:39 +10:00
2008-09-04 07:45:32 +02:00
2008-07-25 10:53:47 -07:00
2008-08-07 02:22:54 -04:00
2008-08-07 02:22:08 -04:00
2008-08-20 13:19:51 -07:00
2008-08-20 15:40:32 -07:00
2008-08-01 11:25:23 -04:00
2008-08-12 16:07:31 -07:00
2008-07-26 20:53:20 -04:00
2008-07-28 16:30:21 -07:00
2008-08-15 08:35:42 -07:00
2008-07-25 10:53:48 -07:00
2008-07-25 10:53:44 -07:00
2008-07-26 20:16:47 -07:00
2008-08-12 16:07:29 -07:00
2008-08-08 15:13:27 +01:00
2008-07-26 12:00:03 -07:00
2008-08-05 18:17:01 +02:00
2008-08-04 15:09:07 -04:00
2008-08-15 19:52:19 -07:00
2008-08-02 18:36:10 +01:00
2008-08-12 17:52:54 +10:00
2008-08-05 14:33:48 -07:00
2008-07-29 12:12:48 +02:00
2008-07-30 09:41:43 -07:00
2008-07-31 20:45:24 -07:00
2008-08-16 16:46:57 -07:00
2008-08-16 16:46:57 -07:00
2008-07-30 09:41:45 -07:00
2008-08-29 14:37:23 -07:00
2008-08-12 16:07:29 -07:00
2008-08-15 08:35:42 -07:00
2008-07-29 12:33:53 +03:00
2008-07-29 12:34:02 +03:00
2008-07-31 02:04:50 -04:00
2008-08-08 16:17:16 -07:00
2008-08-11 15:25:07 +02:00
2008-08-04 10:58:24 +09:00
2008-07-26 12:00:04 -07:00
2008-07-27 01:56:38 +02:00
2008-07-27 01:54:58 +02:00
2008-08-02 16:28:50 +02:00
2008-08-16 16:45:56 -07:00
2008-08-16 16:45:56 -07:00
2008-07-28 16:30:21 -07:00
2008-08-01 11:25:32 -04:00
2008-08-29 14:37:23 -07:00
2008-08-29 14:37:23 -07:00
2008-07-26 20:53:41 -04:00
2008-08-04 23:04:08 -07:00
2008-07-26 20:53:42 -04:00
2008-07-25 22:34:40 -04:00
2008-07-25 22:25:13 -04:00
2008-08-04 21:31:34 -07:00
2008-08-04 21:31:34 -07:00
2008-07-26 12:00:03 -07:00
2008-08-04 16:50:38 -07:00
2008-08-15 09:15:47 -07:00
2008-07-28 14:56:57 -07:00
2008-08-18 13:48:04 -07:00
2008-07-28 14:56:09 -07:00
2008-08-07 15:33:36 -07:00
2008-07-26 12:00:12 -07:00
2008-07-25 10:53:46 -07:00
2008-08-20 15:40:32 -07:00
2008-08-29 14:37:23 -07:00
2008-08-05 14:33:50 -07:00
2008-07-26 20:53:12 -04:00
2008-08-07 17:18:47 -07:00
2008-08-01 11:25:25 -04:00
2008-07-26 12:00:06 -07:00
2008-08-11 09:30:24 +02:00
2008-07-28 16:30:20 -07:00
2008-08-15 08:35:42 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:04 -07:00
2008-07-29 16:36:33 -04:00
2008-08-20 15:40:32 -07:00
2008-07-26 12:00:12 -07:00
2008-07-25 21:45:49 -07:00
2008-08-14 09:35:23 +10:00
2008-08-17 22:47:30 +10:00
2008-08-12 16:07:30 -07:00
2008-07-26 20:53:14 -04:00
2008-08-15 19:52:30 -07:00
2008-07-26 20:17:56 -07:00
2008-08-05 09:28:47 +03:00
2008-07-26 12:00:04 -07:00
2008-07-30 03:27:25 -07:00
2008-07-27 01:47:00 +02:00
2008-08-11 09:30:24 +02:00
2008-08-11 09:30:24 +02:00
2008-07-28 12:16:30 +10:00
2008-08-15 08:35:42 -07:00
2008-08-12 16:07:30 -07:00
2008-07-26 12:00:12 -07:00
2008-07-25 17:28:49 -07:00
2008-07-26 20:53:12 -04:00
2008-07-27 16:12:28 -07:00
2008-07-27 16:12:28 -07:00
2008-07-25 10:53:47 -07:00
2008-08-07 17:18:47 -07:00
2008-08-15 10:34:07 -07:00
2008-08-15 10:34:07 -07:00
2008-08-13 17:32:49 -07:00
2008-08-16 16:46:57 -07:00
2008-07-27 11:07:12 -03:00
2008-07-26 13:25:25 -03:00
2008-08-16 16:45:56 -07:00
2008-08-15 10:34:07 -07:00