lwIP - A Lightweight TCP/IP stack - Patches: patch #9748, Adding support for sending Router...
You are not allowed to post comments on this tracker with your current authentication level.
patch #9748: Adding support for sending Router Advertisement for ND6
Submitter: | yanhc <yanhc> | ||
Submitted: | Sun 27 Jan 2019 12:20:56 PM UTC | ||
Category: | IPv6 | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Planned Release: | None |
Sun 27 Jan 2019 12:26:20 PM UTC, comment #1: |
yanhc <yanhc> |
Sun 27 Jan 2019 12:20:56 PM UTC, original submission:
Recently I added support for sending Router Advertisement in ND6 and posted here for anyone who is interested in it and anyone who may want to improve it.
|
yanhc <yanhc> |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-01-27 | yanhc | Attached File | - | ![]() |
Added 2.1.2_RA.diff, #46106 |
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