tcpdump mailing list archives

[tcpdump] About struct in_addr / struct in6_addr


From: Francois-Xavier Le Bail via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Sun, 17 Jul 2022 19:10:12 +0200

--- Begin Message --- From: Francois-Xavier Le Bail <devel.fx.lebail () orange fr>
Date: Sun, 17 Jul 2022 19:10:12 +0200
Hi,

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?

-- 
Francois-Xavier

--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: