Home
last modified time | relevance | path

Searched refs:rate_tokens (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/net/ipv4/
Dinetpeer.c220 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()
Droute.c905 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()
/Linux-v6.6/include/net/
Dinetpeer.h41 u32 rate_tokens; /* rate limiting for ICMP */ member