From 10a1b8b5f21b96124cdb3c2a625950771cb4c636 Mon Sep 17 00:00:00 2001 From: laforge Date: Tue, 11 Feb 2003 20:19:04 +0000 Subject: add libipt_physdev.c (Bart de Schumyer) --- include/linux/netfilter_ipv4/ipt_physdev.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 include/linux/netfilter_ipv4/ipt_physdev.h (limited to 'include') 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 +#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*/ -- cgit v1.2.3