1 #ifndef _XT_QUOTA_H 2 #define _XT_QUOTA_H 3 #include <linux/types.h> 4 5 enum xt_quota_flags { 6 XT_QUOTA_INVERT = 1 << 0, 7 XT_QUOTA_GROW = 1 << 1, 8 XT_QUOTA_PACKET = 1 << 2, 9 XT_QUOTA_NO_CHANGE = 1 << 3, 10 XT_QUOTA_MASK = 0x0F, 11 }; 12 13 struct xt_quota_counter; 14 15 struct xt_quota_mtinfo2 { 16 char name[15]; 17 u_int8_t flags; 18 19 /* Comparison-invariant */ 20 aligned_u64 quota; 21 22 /* Used internally by the kernel */ 23 struct xt_quota_counter *master __attribute__((aligned(8))); 24 }; 25 26 #endif /* _XT_QUOTA_H */ 27