[tcpdump-workers] [tcpdump] About struct in_addr / struct in6_addr

Guy Harris gharris at sonic.net
Sun Jul 17 13:57:27 EDT 2022

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'.
> Remain:
> pflog.h:110:        struct in_addr      v4;
> pflog.h:111:        struct in6_addr     v6;
> Should they be replaced also?

Yes.  Dne in 71da7b139eb418ac91f1169c550e8a4dc970a692.

More information about the tcpdump-workers mailing list