On Thu,  5 Jun 2025 17:02:37 -0600
Schneide <schne...@qti.qualcomm.com> wrote:

>  
> +RTE_VERSION_SYMBOL(25, int, rte_pcapng_add_interface,
> +                               (rte_pcapng_t *self, uint16_t port,
> +                                const char *ifname, const char *ifdescr,
> +                                const char *filter))
> +{
> +     /* Call the new version with a default link_type (Ethernet) */
> +     return rte_pcapng_add_interface(self, port, 1 /* DLT_EN10MB */,
> +                                                                     ifname, 
> ifdescr, filter);
> +}
> +

You should be able to use the defined value directly here.

Reply via email to