lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] Adding ra sending and rs accepting support for nd6


From: yanhc519
Subject: [lwip-devel] Adding ra sending and rs accepting support for nd6
Date: Tue, 1 May 2018 22:11:32 +0800 (GMT+08:00)

Hello everyone,

I recently add some extension to nd6 which are Router Advertisement sending routine and Router Solicitation handling routine, etc.
I put it on github (https://github.com/yanhc519/lwip2.0.2-ndext) and hope it can be useful and look forward to see improvements.

Best regards,

yanhc

Some descriptions:

The master branch is the original lwip 2.0.2. The ndext branch is the one that extend the nd6.

Totoally, 4 files involed:
(1)icmp6.c, accpet rs;
(2)netif.h, add ra related variables;
(3)netic.c, add initilization of ra variables in netif_add and in netif_issue_reports (including one netif_create_ip6_linklocal_address fix);
(4)nd6.c, add rs handling in nd6_input, add ra sending in nd6_tmr, add nd6_send_ra, fix nd6_cleanup_netif issue.

@todo rs handling just skip the handling of the link layer address option which should be done.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]