PageRenderTime 17ms CodeModel.GetById 16ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/include/linux/netfilter/xt_physdev.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35
C++ Header | 26 lines | 21 code | 5 blank | 0 comment | 0 complexity | 3a4095ce020041fd26c1b81a3e910425 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 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
17struct 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*/