On Tue, 1 Oct 2024 10:17:18 +0200 Robin Jarry <rja...@redhat.com> wrote:
> +/** > + * Copy an IPv6 address into another one. > + * > + * @param dst > + * The address into which to copy data. > + * @param src > + * The address from which to copy. > + */ > +static inline void > +rte_ipv6_addr_cpy(struct rte_ipv6_addr *dst, const struct rte_ipv6_addr *src) > +{ > + rte_memcpy(dst, src, sizeof(*dst)); > +} No should be structure assignment.