tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Import nd6_output_ifp routing function from FreeBSD
Emmanuel
> On 24 Jun 2025, at 4:08 PM, Edgar Fu� <ef%math.uni-bonn.de@localhost> 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.
Home |
Main Index |
Thread Index |
Old Index