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

View File

@@ -25,8 +25,6 @@
#include <string.h>
#include <time.h>
#include <linux/ipv6.h>
#include "util.h"
#include "passt.h"
#include "tap.h"