[PATCH v2] pcapng: allow any protocol link type for the interface block

Stephen Hemminger stephen at networkplumber.org
Mon Jun 9 00:16:21 CEST 2025


On Fri,  6 Jun 2025 15:52:08 -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, DLT_EN10MB,
> +									ifname, ifdescr, filter);
> +}
> +

Indentation here is wonky, will fix on merge.


More information about the dev mailing list