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



> On 22 Jun 2025, at 8:16 PM, Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:
> 
> 
> [trimmed to tech-net@]
> 
> Emmanuel Nyarko <emmankoko519%gmail.com@localhost> wrote:
>>> On 22 Jun 2025, at 3:12 PM, Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:
>>> 
>>>> Emmanuel Nyarko <emmankoko519%gmail.com@localhost> 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?
>> 
>> I don’t have that idea yet. But, I’m ready to do the work. You mean, I
>> should check how efficient or the limit to which dhcpd can assign IPv6
>> addresses to neighboring hosts ?
> 
> If you look at the change history of nd6.c a large amount of code was
> moved to dhcpcd in userland.
> 
> I am suggesting that you should look at what was done before thinking
> about adding stuff back to nd6.c.

Alright. Thanks very much for the pointer.


Home | Main Index | Thread Index | Old Index