kernel-fxtec-pro1x/net/dccp/ccids
Gerrit Renker f4a66ca4d2 dccp: Return-value convention of hc_tx_send_packet()
This patch reorganises the return value convention of the CCID TX sending
function, to permit more flexible schemes, as required by subsequent patches.

Currently the convention is 
 * values < 0     mean error,
 * a value == 0   means "send now", and
 * a value x > 0  means "send in x milliseconds".

The patch provides symbolic constants and a function to interpret return values.
In addition, it caps the maximum positive return value to 0xFFFF milliseconds,
corresponding to 65.535 seconds. 

This is possible since in CCID-3 the maximum inter-packet gap is t_mbi = 64 sec.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2008-09-04 07:45:38 +02:00
..
lib dccp tfrc/ccid-3: Computing Loss Rate from Loss Event Rate 2008-09-04 07:45:34 +02:00
ccid2.c dccp ccid-2: Separate option parsing from CCID processing 2008-09-04 07:45:37 +02:00
ccid2.h dccp ccid-2: Separate option parsing from CCID processing 2008-09-04 07:45:37 +02:00
ccid3.c dccp: Return-value convention of hc_tx_send_packet() 2008-09-04 07:45:38 +02:00
ccid3.h dccp ccid-3: Remove dead states 2008-09-04 07:45:35 +02:00
Kconfig dccp ccid-2: Remove old infrastructure 2008-09-04 07:45:37 +02:00
Makefile