diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2014-04-08 23:15:55 +0200 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-04-11 06:47:58 +0400 |
commit | 2e442ae523415591b087f34ece859b666f88567b (patch) | |
tree | 580177bec7e3395dd7df983c364fb354b4238db0 /accel-pppd/main.c | |
parent | 7937f571305b950f11ddc470fbec9d83e0cc1d74 (diff) | |
download | accel-ppp-2e442ae523415591b087f34ece859b666f88567b.tar.gz accel-ppp-2e442ae523415591b087f34ece859b666f88567b.zip |
l2tp: implement exponential backoff (retransmit)
Rework the l2tp_rtimeout() callback, so that time between
retransmissions expands exponentially. This allows for faster
retransmissions without without overwhelming the peer.
A cap is set on the maximum retransmission time. For now it is set to
16 seconds.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/main.c')
0 files changed, 0 insertions, 0 deletions