Re: Import nd6_output_ifp routing function from FreeBSD

Emmanuel Nyarko <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel,gmane.os.netbsd.devel.network
Message-ID <[email protected]>
Emmanuel

> On 24 Jun 2025, at 4:08 PM, Edgar Fu� <[email protected]> wrote:
> 
> 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

Thank you very much for this. I noted same in pf this morning. So I can use ip6_if_output for it. 
> 
> 
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.