Re: dhcpcd-6 branched for support only
Roy Marples
Wed Oct 26 11:19:52 2016
On 05/10/2016 15:25, Roy Marples wrote:
> dhcpcd-7 currently has no new features planned.
> However, it will be undergoing some fairy serious code churn to make it
> smaller and more efficicent. One idea is to remove all __packed keywords
> and instead use compile time assertians that the structure is correct
> for on-wire transport. This allows the compiler to generate smaller
> code, especially for platforms with strict alignment issues.
>
> The second idea is to merge IPv4 and IPv6 route handling and make it
> family agnostic as much as possible.
This is now done, but it hasn't reduced the binary size by much, which
is a shame.
However the code is much easier to follow as a result, so it's still a
good thing.
I think I can reduce some misc functions by making address handling more
family agnostic as well so that will be my next focus.
Still, now is a good point to take a copy of trunk and give it some
serious testing in-case I broke any corner cases.
Roy
Archive administrator: postmaster@marples.name