dccp ccid-2: Update code for the Ack Vector input/registration routine
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Sun, 14 Nov 2010 16:25:23 +0000 (17:25 +0100)
committerGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 15 Nov 2010 06:11:59 +0000 (07:11 +0100)
commit3802408644515e29fb723d51a5317301b212cf3a
tree834533b0cf43366747ea237b43f06e4462aed94e
parent5753fdfe8bd8e9a2ff9e5af19b0ffc78bfcd502a
dccp ccid-2: Update code for the Ack Vector input/registration routine

This patch updates the code which registers new packets as received, using the
new circular buffer interface. It contributes a new algorithm which
 * supports both tail/head pointers and buffer wrap-around and
 * deals with overflow (head/tail move in lock-step).

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
net/dccp/ackvec.c
net/dccp/ackvec.h