Searched refs:rate_tokens (Results 1 – 3 of 3) sorted by relevance
220 p->rate_tokens = 0; in inet_getpeer()278 token = peer->rate_tokens; in inet_peer_xrlim_allow()288 peer->rate_tokens = token; in inet_peer_xrlim_allow()
905 peer->rate_tokens = 0; in ip_rt_send_redirect()1004 peer->rate_tokens += now - peer->rate_last; in ip_error()1005 if (peer->rate_tokens > ip_rt_error_burst) in ip_error()1006 peer->rate_tokens = ip_rt_error_burst; in ip_error()1008 if (peer->rate_tokens >= ip_rt_error_cost) in ip_error()1009 peer->rate_tokens -= ip_rt_error_cost; in ip_error()
41 u32 rate_tokens; /* rate limiting for ICMP */ member