4 /* timings are in milliseconds. */
5 #define XT_LIMIT_SCALE 10000
9 /* 1/10,000 sec period => max of 10,000/sec. Min rate is then 429490
10 seconds, or one every 59 hours. */
12 u_int32_t avg; /* Average secs between packets * scale */
13 u_int32_t burst; /* Period multiplier for upper limit. */
15 /* Used internally by the kernel */
16 unsigned long prev; /* moved to xt_limit_priv */
17 u_int32_t credit; /* moved to xt_limit_priv */
18 u_int32_t credit_cap, cost;
20 struct xt_limit_priv *master;