netstack3_ip::device

Constant MAX_RTR_SOLICITATION_DELAY

Source
pub const MAX_RTR_SOLICITATION_DELAY: Duration;
Expand description

Amount of time to wait after sending MAX_RTR_SOLICITATIONS Router Solicitation messages before determining that there are no routers on the link for the purpose of IPv6 Stateless Address Autoconfiguration if no Router Advertisement messages have been received as defined in RFC 4861 section 10.

This parameter is also used when a host sends its initial Router Solicitation message, as per RFC 4861 section 6.3.7. Before a node sends an initial solicitation, it SHOULD delay the transmission for a random amount of time between 0 and MAX_RTR_SOLICITATION_DELAY. This serves to alleviate congestion when many hosts start up on a link at the same time.