[PATCH v3 4/7] examples/flow_parsing: add flow parser demo

Stephen Hemminger stephen at networkplumber.org
Fri Jan 16 18:22:41 CET 2026


On Fri, 16 Jan 2026 00:01:10 +0100
Lukas Sismis <sismis at dyna-nic.com> wrote:

> +/* Helper to print a MAC address */
> +static void
> +print_mac(const char *label, const uint8_t *mac)
> +{
> +	printf("    %s: %02x:%02x:%02x:%02x:%02x:%02x\n", label,
> +	       mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
> +}

Prefer use of rte_ether_format_addr


More information about the dev mailing list