diff options
author | laforge <laforge> | 2003-04-27 10:01:44 +0000 |
---|---|---|
committer | laforge <laforge> | 2003-04-27 10:01:44 +0000 |
commit | a153daeace392e0eaf8aaf6ce117dbe32f12458a (patch) | |
tree | f489193a7e6e0a9a88586d78d481f35713d13c83 /include | |
parent | 8f2e68dd2ee95ec82920b54f887e50b363d5d658 (diff) |
ipt_physdev update (--physdev-is-{in,out,bridged}) by Bart de Schuymer
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter_ipv4/ipt_physdev.h | 9 |
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 668e1a9..01684a1 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]; |