[tcpdump-workers] [tcpdump] About struct in_addr / struct in6_addr
Francois-Xavier Le Bail
devel.fx.lebail at orange.fr
Sun Jul 17 14:09:34 EDT 2022
On 17/07/2022 19:57, Guy Harris wrote:
> On Jul 17, 2022, at 10:10 AM, Francois-Xavier Le Bail via tcpdump-workers <tcpdump-workers at lists.tcpdump.org> wrote:
>> The current nd_ipv4 and nd_ipv6 types were added in 2017 for alignment reasons.
>> Since then,
>> most of the 'struct in_addr' were replaced by 'nd_ipv4',
>> most of the 'struct in6_addr' were replaced by 'nd_ipv6'.
>> pflog.h:110: struct in_addr v4;
>> pflog.h:111: struct in6_addr v6;
>> Should they be replaced also?
> Yes. Dne in 71da7b139eb418ac91f1169c550e8a4dc970a692.
OK, thank you.
Remain some stuff about 'struct in6_addr'. Any need to keep them?
$ git grep -l 'struct in6_addr'
More information about the tcpdump-workers