Re: Import nd6_output_ifp routing function from FreeBSD
Edgar Fuß <[email protected]> Tue, 24 Jun 2025 18:08:04 +0200
| Newsgroups | gmane.os.netbsd.devel.kernel,gmane.os.netbsd.devel.network |
|---|---|
| Message-ID | <[email protected]> |
What IPF does (external/bsd/ipf/netinet/ip_fil_netbsd.c) is: # if __NetBSD_Version__ >= 499001100 error = ip6_if_output(ifp, ifp, m0, satocsin6(dst), rt); # else error = nd6_output(ifp, ifp, m0, dst6, rt); # endif I also stumbled across a comment in netinet6/nd6.c which needs to be adjusted: /* * XXX: since nd6_output() below will cause * state tansition to DELAY and reset the timer, * we must set the timer now, although it is actually * meaningless. */ > Did you research why nd6_output has been removed? FWIW, that was netinet6/nd6.c 1.227.