Re: merge nd6_rs_input() and nd6_ra_input()

2017-11-03 Thread Florian Obser
On Fri, Nov 03, 2017 at 01:37:40PM +, Martin Pieuchot wrote: > On 02/11/17(Thu) 23:25, Florian Obser wrote: > > We are processing Router Solicitation / Advertisement messages only > > for the Source Link-layer Address Options. > > Merge nd6_rs_input() and nd6_ra_inp

Re: merge nd6_rs_input() and nd6_ra_input()

2017-11-03 Thread Martin Pieuchot
On 02/11/17(Thu) 23:25, Florian Obser wrote: > We are processing Router Solicitation / Advertisement messages only > for the Source Link-layer Address Options. > Merge nd6_rs_input() and nd6_ra_input() into one generic function. Ok, but I'd suggest a different name: nd6_rtr_cache().

merge nd6_rs_input() and nd6_ra_input()

2017-11-02 Thread Florian Obser
We are processing Router Solicitation / Advertisement messages only for the Source Link-layer Address Options. Merge nd6_rs_input() and nd6_ra_input() into one generic function. OK? diff --git netinet6/icmp6.c netinet6/icmp6.c index 421280690c9..b5e12169584 100644 --- netinet6/icmp6.c