Home
last modified time | relevance | path

Searched refs:ips_icmp_pkt_err_last (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/
H A Dip_stack.h300 clock_t ips_icmp_pkt_err_last; member
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip.c2960 if (ipst->ips_icmp_pkt_err_last > now) { in icmp_err_rate_limit()
2962 ipst->ips_icmp_pkt_err_last = 0; in icmp_err_rate_limit()
2971 refilled = (now - ipst->ips_icmp_pkt_err_last)/err_interval; in icmp_err_rate_limit()
2976 ipst->ips_icmp_pkt_err_last += refilled * err_interval; in icmp_err_rate_limit()
2981 ipst->ips_icmp_pkt_err_last = now; in icmp_err_rate_limit()