Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c208 u_int new_ratio; local
228 new_ratio = db->in_count << RATIO_SCALE_LOG;
230 new_ratio /= db->bytes_out;
232 if (new_ratio < db->ratio || new_ratio < 1 * RATIO_SCALE) {
236 db->ratio = new_ratio;
/titanic_44/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c247 uint_t new_ratio; in bsd_check() local
271 new_ratio = db->in_count << RATIO_SCALE_LOG; in bsd_check()
274 new_ratio /= db->bytes_out; in bsd_check()
277 if (new_ratio < db->ratio || in bsd_check()
278 new_ratio < 1 * RATIO_SCALE) { in bsd_check()
283 db->ratio = new_ratio; in bsd_check()