linux/net/dccp
Gerrit Renker fe84f4140f 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/4 the
maximum possible inter-packet gap is fixed at t_mbi = 64 sec.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-28 10:27:00 -07:00
..
ccids dccp: Return-value convention of hc_tx_send_packet() 2010-10-28 10:27:00 -07:00
ackvec.c
ackvec.h
ccid.c
ccid.h dccp: Return-value convention of hc_tx_send_packet() 2010-10-28 10:27:00 -07:00
dccp.h dccp: schedule an Ack when receiving timestamps 2010-10-12 06:57:43 +02:00
diag.c
feat.c
feat.h
input.c dccp: cosmetics - warning format 2010-10-12 06:57:43 +02:00
ipv4.c tproxy: fix hash locking issue when using port redirection in __inet_inherit_port() 2010-10-21 13:06:43 +02:00
ipv6.c tproxy: fix hash locking issue when using port redirection in __inet_inherit_port() 2010-10-21 13:06:43 +02:00
ipv6.h
Kconfig
Makefile
minisocks.c dccp: fix the adjustments to AWL and SWL 2010-10-12 06:57:40 +02:00
options.c dccp: schedule an Ack when receiving timestamps 2010-10-12 06:57:43 +02:00
output.c dccp: remove unused argument in CCID tx function 2010-10-12 06:57:41 +02:00
probe.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
proto.c dccp: cosmetics - warning format 2010-10-12 06:57:43 +02:00
sysctl.c
timer.c