Searched refs:rate_tokens (Results 1 – 3 of 3) sorted by relevance
227 p->rate_tokens = 0; in inet_getpeer()285 token = peer->rate_tokens; in inet_peer_xrlim_allow()295 peer->rate_tokens = token; in inet_peer_xrlim_allow()
934 peer->rate_tokens = 0; in ip_rt_send_redirect()1029 peer->rate_tokens += now - peer->rate_last; in ip_error()1030 if (peer->rate_tokens > ip_rt_error_burst) in ip_error()1031 peer->rate_tokens = ip_rt_error_burst; in ip_error()1033 if (peer->rate_tokens >= ip_rt_error_cost) in ip_error()1034 peer->rate_tokens -= ip_rt_error_cost; in ip_error()
41 u32 rate_tokens; /* rate limiting for ICMP */ member