summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_tos.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_tos.c')
-rw-r--r--extensions/libxt_tos.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/extensions/libxt_tos.c b/extensions/libxt_tos.c
index 0a81f461..6b8cd89f 100644
--- a/extensions/libxt_tos.c
+++ b/extensions/libxt_tos.c
@@ -13,9 +13,13 @@
#include <xtables.h>
#include <linux/netfilter/xt_dscp.h>
-#include <linux/netfilter_ipv4/ipt_tos.h>
#include "tos_values.c"
+struct ipt_tos_info {
+ u_int8_t tos;
+ u_int8_t invert;
+};
+
enum {
FLAG_TOS = 1 << 0,
};