[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9748] Adding support for sending Router Advertiseme
From: |
yanhc |
Subject: |
[lwip-devel] [patch #9748] Adding support for sending Router Advertisement for ND6 |
Date: |
Sun, 27 Jan 2019 07:26:20 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 |
Follow-up Comment #1, patch #9748 (project lwip):
Configuration parameters in lwipopts.h:
/* LWIP_IPV6_SEND_ROUTER_ADVERTISE==1, nd6 will send ra and accpet rs
When a netif is up, ra will be sent 3 times after every 2 seconds,
then, each ra will be sent after every 600 seconds.
The procedure of ra sending is in nd6_tmr which is called every 1
seconds.
RFC4861 suggests random ra interval to reduce the probability
of synchronization with ra from other routers on the same link.
In our case, there is only one router on one link, so random is
unnecesary.
*/
#define LWIP_IPV6_SEND_ROUTER_ADVERTISE 1
#define LWIP_ND6_MAX_INITIAL_RA 3
#define LWIP_ND6_INITIAL_RA_INTERVAL 2
#define LWIP_ND6_NORMAL_RA_INTERVAL 600
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/patch/?9748>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/