]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[TFRC]: New rx history code
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Dec 2007 15:18:11 +0000 (13:18 -0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:43 +0000 (14:56 -0800)
commitb84a2189c4e1835c51fd6b974a0497be9bc4ba87
treed488b0a45618ac37c605b10b093f8f03a050a7fc
parent30a0eacd479f1c7c15fe0496585ff29f76de3378
[TFRC]: New rx history code

Credit here goes to Gerrit Renker, that provided the initial implementation for
this new codebase.

I modified it just to try to make it closer to the existing API, renaming some
functions, add namespacing and fix one bug where the tfrc_rx_hist_alloc was not
freeing the allocated ring entries on the error path.

Original changeset comment from Gerrit:
      -----------
This provides a new, self-contained and generic RX history service for TFRC
based protocols.

Details:
 * new data structure, initialisation and cleanup routines;
 * allocation of dccp_rx_hist entries local to packet_history.c,
   as a service exported by the dccp_tfrc_lib module.
 * interface to automatically track highest-received seqno;
 * receiver-based RTT estimation (needed for instance by RFC 3448, 6.3.1);
 * a generic function to test for `data packets' as per  RFC 4340, sec. 7.7.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccids/ccid3.c
net/dccp/ccids/ccid3.h
net/dccp/ccids/lib/loss_interval.c
net/dccp/ccids/lib/packet_history.c
net/dccp/ccids/lib/packet_history.h