1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _XT_RPATH_H 3 #define _XT_RPATH_H 4 5 #include <linux/types.h> 6 7 enum { 8 XT_RPFILTER_LOOSE = 1 << 0, 9 XT_RPFILTER_VALID_MARK = 1 << 1, 10 XT_RPFILTER_ACCEPT_LOCAL = 1 << 2, 11 XT_RPFILTER_INVERT = 1 << 3, 12 #ifdef __KERNEL__ 13 XT_RPFILTER_OPTION_MASK = XT_RPFILTER_LOOSE | 14 XT_RPFILTER_VALID_MARK | 15 XT_RPFILTER_ACCEPT_LOCAL | 16 XT_RPFILTER_INVERT, 17 #endif 18 }; 19 20 struct xt_rpfilter_info { 21 __u8 flags; 22 }; 23 24 #endif