1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_XT_PHYSDEV_H
3 #define _UAPI_XT_PHYSDEV_H
5 #include <linux/types.h>
8 #define XT_PHYSDEV_OP_IN 0x01
9 #define XT_PHYSDEV_OP_OUT 0x02
10 #define XT_PHYSDEV_OP_BRIDGED 0x04
11 #define XT_PHYSDEV_OP_ISIN 0x08
12 #define XT_PHYSDEV_OP_ISOUT 0x10
13 #define XT_PHYSDEV_OP_MASK (0x20 - 1)
15 struct xt_physdev_info {
16 char physindev[IFNAMSIZ];
17 char in_mask[IFNAMSIZ];
18 char physoutdev[IFNAMSIZ];
19 char out_mask[IFNAMSIZ];
24 #endif /* _UAPI_XT_PHYSDEV_H */