Re: Import nd6_output_ifp routing function from FreeBSD

Robert Swindells <[email protected]> Sun, 22 Jun 2025 16:12:26 +0100
Newsgroups gmane.os.netbsd.devel.kernel,gmane.os.netbsd.devel.network
Message-ID <[email protected]>
Emmanuel Nyarko <[email protected]> wrote:
>
> I am currently working on policy based routing (based on outgoing interface)
>
> there’ a previously written code for ipv6 which I’ve taken from Jonathan
> A. Kollasch long time ago.  and he used nd6_output function which
> appears to be removed from netbsd.

[snip]

> freeBSD now uses nd6_output_ifp for a similar job. and i want to import
> it to netbsd so we can use it for that.
>
> https://github.com/freebsd/freebsd-src/blob/main/sys/netinet6/nd6.c#L2184

Have you looked at what parts of IPv6 processing are now done in dhcpcd?