additional ifreq accessors?
Hans Petter Selasky
hps at selasky.org
Tue Apr 7 17:32:50 UTC 2020
On 2020-04-07 19:26, Poul-Henning Kamp wrote:
> --------
> In message <20200407172151.GB72584 at spindle.one-eyed-alien.net>, Brooks Davis writes:
>
>> My question for the lists is: should we adopt the
>> more-technically-correct accessors in FreeBSD or stick with
>> slightly-cheaper and more conventional aliasing approach[0]?
>
> The accessors buys us much more code-isolation, so that would be my vote.
>
Is there a reason for using "void *" here?
char *ifr_addr_get_data(void *ifrp);
--HPS
More information about the freebsd-net
mailing list