Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6] / include / linux / netfilter / xt_physdev.h
1 #ifndef _XT_PHYSDEV_H
2 #define _XT_PHYSDEV_H
3
4 #include <linux/types.h>
5
6 #ifdef __KERNEL__
7 #include <linux/if.h>
8 #endif
9
10 #define XT_PHYSDEV_OP_IN                0x01
11 #define XT_PHYSDEV_OP_OUT               0x02
12 #define XT_PHYSDEV_OP_BRIDGED           0x04
13 #define XT_PHYSDEV_OP_ISIN              0x08
14 #define XT_PHYSDEV_OP_ISOUT             0x10
15 #define XT_PHYSDEV_OP_MASK              (0x20 - 1)
16
17 struct xt_physdev_info {
18         char physindev[IFNAMSIZ];
19         char in_mask[IFNAMSIZ];
20         char physoutdev[IFNAMSIZ];
21         char out_mask[IFNAMSIZ];
22         __u8 invert;
23         __u8 bitmask;
24 };
25
26 #endif /*_XT_PHYSDEV_H*/