summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorlaforge <laforge>2003-02-11 20:19:04 +0000
committerlaforge <laforge>2003-02-11 20:19:04 +0000
commit10a1b8b5f21b96124cdb3c2a625950771cb4c636 (patch)
treef1d643f260f98ba609bf344e6f70118ec46d4d0a /include/linux
parentdfcea34382ab6e721655788189ed487a95cadfaf (diff)
add libipt_physdev.c (Bart de Schumyer)
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netfilter_ipv4/ipt_physdev.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_physdev.h b/include/linux/netfilter_ipv4/ipt_physdev.h
new file mode 100644
index 0000000..668e1a9
--- /dev/null
+++ b/include/linux/netfilter_ipv4/ipt_physdev.h
@@ -0,0 +1,19 @@
+#ifndef _IPT_PHYSDEV_H
+#define _IPT_PHYSDEV_H
+
+#ifdef __KERNEL__
+#include <linux/if.h>
+#endif
+
+#define IPT_PHYSDEV_OP_MATCH_IN 0x01
+#define IPT_PHYSDEV_OP_MATCH_OUT 0x02
+
+struct ipt_physdev_info {
+ u_int8_t invert;
+ char physindev[IFNAMSIZ];
+ char in_mask[IFNAMSIZ];
+ char physoutdev[IFNAMSIZ];
+ char out_mask[IFNAMSIZ];
+};
+
+#endif /*_IPT_PHYSDEV_H*/