diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2003-02-11 20:19:04 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2003-02-11 20:19:04 +0000 |
commit | 1254871c88483cc1a0adc448a83cab6a9d4510a1 (patch) | |
tree | f1d643f260f98ba609bf344e6f70118ec46d4d0a /include | |
parent | 31ad6a249f3ead10e5d4111498f8022eb1169e19 (diff) |
add libipt_physdev.c (Bart de Schumyer)
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter_ipv4/ipt_physdev.h | 19 |
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 00000000..668e1a9f --- /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*/ |