Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Dinetpeer.c227 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()
Droute.c934 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()
/kernel/linux/linux-5.10/include/net/
Dinetpeer.h41 u32 rate_tokens; /* rate limiting for ICMP */ member