Searched refs:ips_icmp_pkt_err_last (Results 1 – 2 of 2) sorted by relevance
291 clock_t ips_icmp_pkt_err_last; member
2935 if (ipst->ips_icmp_pkt_err_last > now) { in icmp_err_rate_limit()2937 ipst->ips_icmp_pkt_err_last = 0; in icmp_err_rate_limit()2946 refilled = (now - ipst->ips_icmp_pkt_err_last)/err_interval; in icmp_err_rate_limit()2951 ipst->ips_icmp_pkt_err_last += refilled * err_interval; in icmp_err_rate_limit()2956 ipst->ips_icmp_pkt_err_last = now; in icmp_err_rate_limit()