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
qrap.c
View File

@@ -26,8 +26,6 @@
#include <netinet/in.h>
#include <netinet/if_ether.h>
#include <linux/ipv6.h>
#include "util.h"
#include "passt.h"
#include "arp.h"