On Tue, 28 Apr 2026 06:31:03 +0530
Rajesh Kumar <[email protected]> wrote:

> +             const struct rte_udp_hdr *udp =
> +                     (const struct rte_udp_hdr *)
> +                     ((const uint8_t *)eth + offset);

Use rte_pktmbuf_mtod_offset() avoid pointer math as error prone.

Reply via email to