1
0
Fork 0
mirror of https://passt.top/passt synced 2025-05-28 20:35:33 +02:00

passt: Drop <linux/ipv6.h> include, carry own ipv6hdr and opt_hdr definitions

This is the only remaining Linux-specific include -- drop it to avoid
clang-tidy warnings and to make code more portable.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-01-25 19:03:44 +01:00
parent f6d9787d30
commit b93c2c1713
16 changed files with 28 additions and 24 deletions

2
pcap.c
View file

@ -28,8 +28,6 @@
#include <unistd.h>
#include <net/if.h>
#include <linux/ipv6.h>
#include "util.h"
#include "passt.h"