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>
Tue, 21 Oct 2014 00:07:10 +0000 (01:07 +0100)
commit83692003d26df90e149a3e627dbf4aaaad2ddb72
tree071a5d7a008db9754467cb05d8bcf35319b6b72b
parent35d30aa38d4c9a2af028fd93adcebc6dba3a9a84
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