diff options
author | Elena Tebesoi <elena.tebesoi@gmail.com> | 2012-05-21 14:49:42 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-05-22 21:13:32 +0200 |
commit | 5bf6e62fa5cdf7d9a19af04948e53b7db07abbc8 (patch) | |
tree | 060c07ba757ca3958a03b093def615be15fee232 /src/ipconfig.c | |
parent | a880cf2c775982f35f080c207176ecbadf751aa3 (diff) | |
download | connman-5bf6e62fa5cdf7d9a19af04948e53b7db07abbc8.tar.gz connman-5bf6e62fa5cdf7d9a19af04948e53b7db07abbc8.tar.bz2 connman-5bf6e62fa5cdf7d9a19af04948e53b7db07abbc8.zip |
resolver: Send RS before RDNSS lifetime expires
Implemented feature from RFC 6106 section
'5.1. Recursive DNS Server Option':
"Lifetime 32-bit unsigned integer.
...
Hosts MAY send a Router Solicitation to ensure
the RDNSS information is fresh before the interval expires."
Host will send RS when a certain threshold of RDNSS lifetime is reached.
Values which can be adjusted:
- lifetime threshold - set to 80% from lifetime
- number of retries in case RA is not received - set to 0
- time between retries, in case RA is not received - set to 3 seconds
Diffstat (limited to 'src/ipconfig.c')
0 files changed, 0 insertions, 0 deletions