blob: d0ca032a9a6eae6aeee4fe7ec7bb6bfe21c70a77 [file] [log] [blame]
Dan Albert287553d2017-02-16 10:47:51 -08001/****************************************************************************
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