On 10/4/07, Gerrit Renker <gerrit@xxxxxxxxxxxxxx> wrote: > [DCCP]: Initialisation and type-checking of feature sysctls > > The number of feature sysctls is now smaller (it is instead now possible > to set values on a per-connection basis via sockops); this patch takes care > of their initialisation and some rudimentary type-checking: > > * Sequence Window uses the specified Wmin=32, the maximum is ulong (4 bytes), I have > tested and confirmed that it works up to 4294967295 - let's use it for Gbps; > * Ack Ratio is between 0 .. 0xFFFF (2-byte unsigned integer); > * CCIDs are between 0 .. 255 (FIXME: write handler for available ones); > * request_retries, retries1, retries2 also between 0..255 for good measure; > * tx_qlen is checked to be non-negative; > * sync_ratelimit remains as before. > > The sysctls are initialised with the known default values for each feature > at boot or module load time; for the type-checking the value constraints from > RFC 4340 have been used. Type checking is important since some of the sysctls > now directly act on the feature-negotiation process. > > Signed-off-by: Gerrit Renker <gerrit@xxxxxxxxxxxxxx> Acked-by: Ian McDonald <ian.mcdonald@xxxxxxxxxxx> - To unsubscribe from this list: send the line "unsubscribe dccp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html