OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / include / linux / netfilter / xt_physdev.h
blob8555e399886d09259fe8d8daa1e688a063983499
1 #ifndef _XT_PHYSDEV_H
2 #define _XT_PHYSDEV_H
4 #include <linux/types.h>
6 #ifdef __KERNEL__
7 #include <linux/if.h>
8 #endif
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)
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;
26 #endif /*_XT_PHYSDEV_H*/