chiark / gitweb /
transform: Discard previously-received packets
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Sep 2014 23:40:04 +0000 (00:40 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 2 Oct 2014 15:40:18 +0000 (16:40 +0100)
commit73505dae67838a8024167a04066feefc05a4ed92
tree62b4331682c674232965cd6e9b632faf7458d12b
parent7bd41e1a9f6d22055a85626da271fdf793a2fc9e
transform: Discard previously-received packets

Keep a bitmap of previously-received packets (by sequence number
offset) and discard duplicates.

This feature can only be enabled if the bitmap (32 bits) is big enough
for the sequence number window (`max-skew'), but this is true by
default, and the feature is enabled by default when available.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
transform-common.h