summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2003-04-27 10:01:44 +0000
committerHarald Welte <laforge@gnumonks.org>2003-04-27 10:01:44 +0000
commit30596a5e7ae8c518a8a0bbf3aa891728e9f9ec1b (patch)
treef489193a7e6e0a9a88586d78d481f35713d13c83 /include/linux
parent9cb66152f7286d9520dfe01406d27f09aac36a8e (diff)
ipt_physdev update (--physdev-is-{in,out,bridged}) by Bart de Schuymer
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netfilter_ipv4/ipt_physdev.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_physdev.h b/include/linux/netfilter_ipv4/ipt_physdev.h
index 668e1a9f..01684a12 100644
--- a/include/linux/netfilter_ipv4/ipt_physdev.h
+++ b/include/linux/netfilter_ipv4/ipt_physdev.h
@@ -5,11 +5,16 @@
#include <linux/if.h>
#endif
-#define IPT_PHYSDEV_OP_MATCH_IN 0x01
-#define IPT_PHYSDEV_OP_MATCH_OUT 0x02
+#define IPT_PHYSDEV_OP_IN 0x01
+#define IPT_PHYSDEV_OP_OUT 0x02
+#define IPT_PHYSDEV_OP_BRIDGED 0x04
+#define IPT_PHYSDEV_OP_ISIN 0x08
+#define IPT_PHYSDEV_OP_ISOUT 0x10
+#define IPT_PHYSDEV_OP_MASK (0x20 - 1)
struct ipt_physdev_info {
u_int8_t invert;
+ u_int8_t bitmask;
char physindev[IFNAMSIZ];
char in_mask[IFNAMSIZ];
char physoutdev[IFNAMSIZ];