[PATCH v2] pcapng: allow any protocol link type for the interface block
Stephen Hemminger
stephen at networkplumber.org
Fri Jun 6 17:13:08 CEST 2025
On Thu, 5 Jun 2025 17:02:37 -0600
Schneide <schneide at 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.
More information about the dev
mailing list