Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/inet/ip/
H A Dip.c2928 uint_t refilled; /* Number of packets refilled in tbf since last */ in icmp_err_rate_limit() local
2946 refilled = (now - ipst->ips_icmp_pkt_err_last)/err_interval; in icmp_err_rate_limit()
2947 if (refilled > ipst->ips_icmp_pkt_err_sent) { in icmp_err_rate_limit()
2950 ipst->ips_icmp_pkt_err_sent -= refilled; in icmp_err_rate_limit()
2951 ipst->ips_icmp_pkt_err_last += refilled * err_interval; in icmp_err_rate_limit()