Ben Cheng | 30692c6 | 2013-10-15 18:26:18 -0700 | [diff] [blame] | 1 | #ifndef _XT_RATEEST_TARGET_H |
| 2 | #define _XT_RATEEST_TARGET_H |
| 3 | |
| 4 | #include <linux/types.h> |
Christopher Ferris | ccfaccd | 2016-08-24 12:11:31 -0700 | [diff] [blame^] | 5 | #include <linux/if.h> |
Ben Cheng | 30692c6 | 2013-10-15 18:26:18 -0700 | [diff] [blame] | 6 | |
| 7 | struct xt_rateest_target_info { |
| 8 | char name[IFNAMSIZ]; |
| 9 | __s8 interval; |
| 10 | __u8 ewma_log; |
| 11 | |
| 12 | /* Used internally by the kernel */ |
| 13 | struct xt_rateest *est __attribute__((aligned(8))); |
| 14 | }; |
| 15 | |
| 16 | #endif /* _XT_RATEEST_TARGET_H */ |