1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _XT_PHYSDEV_H
13#define _XT_PHYSDEV_H
14
15#define XT_PHYSDEV_OP_IN 0x01
16#define XT_PHYSDEV_OP_OUT 0x02
17#define XT_PHYSDEV_OP_BRIDGED 0x04
18#define XT_PHYSDEV_OP_ISIN 0x08
19#define XT_PHYSDEV_OP_ISOUT 0x10
20#define XT_PHYSDEV_OP_MASK (0x20 - 1)
21
22struct xt_physdev_info {
23 char physindev[IFNAMSIZ];
24 char in_mask[IFNAMSIZ];
25 char physoutdev[IFNAMSIZ];
26 char out_mask[IFNAMSIZ];
27 u_int8_t invert;
28 u_int8_t bitmask;
29};
30
31#endif
32