Stephen Hemminger, Aug 22, 2024 at 16:13:
Let me ask a couple of questions about this.
Why does DPDK need to have its own definitions of IPv4 and IPv6 addresses?
The structures in_addr and in6_addr exist on Linux, BSD, and Windows.
It creates lots of code reimplementation (see inet_ntop etc).
What advantage is there to having our own definitions?
If I'm not mistaken, in6_addr is aligned on 4 bytes. Is it guaranteed
that IPv6 headers will *always* be starting on a 4 bytes boundary? If
not then, in6_addr cannot be mapped on unaligned packet memory.