Skip to content

WIP: Refactoring:

Gijs Peskens requested to merge reorder_buffer into master

-implement reorder buffer.

-refactor time logic to be applied on packet entry (needed for reorder timing)

-actually append missing buffer to tail of list, instead of head

-refactor missing logic so that it always checks forwards from last known good packet.

-removed bufferbloat stuff from the missing checks, that logic should be applied elsewhere, as we only have 1 chance of marking a packet as missing.

The reorder buffer can be disabled by setting reorder time to 0, in which case missing packets instantly get nacked.

WIP:

-cleanup reorder buffer when needed.

-should be tested a bit more. My testing shows both modes working fine with high packet loss applied.

Edited by Gijs Peskens

Merge request reports

Loading