[slam] Add support for SLAM window lengths of greater than one packet
authorMichael Brown <mcb30@etherboot.org>
Wed, 11 Jun 2008 12:16:02 +0000 (13:16 +0100)
committerMichael Brown <mcb30@etherboot.org>
Wed, 11 Jun 2008 12:16:02 +0000 (13:16 +0100)
commitc3811d4a1339c29254db1ce04810259448840bcc
tree87b7cb9bca188469ba72074f70ee435c21774135
parent50810955e97cf704548c84d38194f8ef0a45d8d4
[slam] Add support for SLAM window lengths of greater than one packet

Add the definition of SLAM_MAX_BLOCKS_PER_NACK, which is roughly
equivalent to a TCP window size; it represents the maximum number of
packets that will be requested in a single NACK.

Note that, to keep the code size down, we still limit ourselves to
requesting only a single range per NACK; if the missing-block list is
discontiguous then we may request fewer than SLAM_MAX_BLOCKS_PER_NACK
blocks.
src/net/udp/slam.c