Browse Source
Our Ns counter is the current slot rather than the next to ease packet retransmission. Therefore we increment the Ns counter before using the next slot instead of after. The RFC is written with post-increment in mind rather than pre-increment, thus when the RFC says that Ns in not incremented for ZLB packets it actually means that ZLB packets are sent with the next Ns without post-incrementing the Ns value, meaning the ZLB packet does not take a slot. Since we are using a pre-incremented value for real slots we need to send ZLB packets with our current Ns value plus one. Signed-off-by: Sylvain Rochet <gradator@gradator.net>STABLE-2_1_x
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue