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>
Wed, 8 Oct 2014 17:25:20 +0000 (18:25 +0100)
commit3943b4585cb93e6df0b840c1e6d7bfe8c3a33fba
tree071a5d7a008db9754467cb05d8bcf35319b6b72b
parentedca907530a060eef498d5ec9ce733c00c315cce
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