1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _XT_DEVGROUP_H 3 #define _XT_DEVGROUP_H 4 5 #include <linux/types.h> 6 7 enum xt_devgroup_flags { 8 XT_DEVGROUP_MATCH_SRC = 0x1, 9 XT_DEVGROUP_INVERT_SRC = 0x2, 10 XT_DEVGROUP_MATCH_DST = 0x4, 11 XT_DEVGROUP_INVERT_DST = 0x8, 12 }; 13 14 struct xt_devgroup_info { 15 __u32 flags; 16 __u32 src_group; 17 __u32 src_mask; 18 __u32 dst_group; 19 __u32 dst_mask; 20 }; 21 22 #endif /* _XT_DEVGROUP_H */ 23