[PATCH v6 3/3] test: add test for af_packet

Thomas Monjalon thomas at monjalon.net
Thu May 21 16:54:14 CEST 2026


29/04/2026 20:19, Stephen Hemminger:
> +#include <errno.h>
> +#include <fcntl.h>
> +#include <inttypes.h>
> +#include <linux/if.h>
> +#include <linux/if_tun.h>
> +#include <linux/sockios.h>
> +#include <pthread.h>
> +#include <stdbool.h>
> +#include <stdio.h>
> +#include <string.h>
> +#include <sys/ioctl.h>
> +#include <sys/socket.h>

There is a compilation failure for ppc about sockaddr.
It seems sys/socket.h must be included before linux/if.h.
I'll do the change while pulling.





More information about the dev mailing list