]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-ndisc-rs.c: Test Router Solicitation timer computation 4512/head
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 19 May 2017 13:22:47 +0000 (16:22 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 30 May 2017 07:34:15 +0000 (10:34 +0300)
commit5a67ed2403cae2632e71a5bbeb883ff077c44186
tree6c2f91cad31dbe73c3fc1bb20e56e9cb43cc5e15
parente82a19cb1833c64604c11f307a84cf998f4aeffe
test-ndisc-rs.c: Test Router Solicitation timer computation

Test ICMPv6 Router Solicitation exponential backoff timer by
computing the minimum and maximum values according to RFC 7559,
Section 2 and the algorithm itself described in RFC 3315, Section
14. Reset the sd_ndisc timer to trigger after a zero second delay,
which causes the ndisc timeout to be triggered immediately once
the caller of the "sending" function returns to the main loop.
src/libsystemd-network/test-ndisc-rs.c