Home
last modified time | relevance | path

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

/freebsd/sys/net/altq/
H A Daltq_rmclass.c179 rmc_newclass(int pri, struct rm_ifdat *ifd, u_int nsecPerByte, in rmc_newclass() argument
234 cl->allotment_ = RM_NS_PER_SEC / nsecPerByte; /* Bytes per sec */ in rmc_newclass()
237 cl->ns_per_byte_ = nsecPerByte; in rmc_newclass()
245 cl->minidle_ = (minidle * (int)nsecPerByte) / 8; in rmc_newclass()
251 cl->maxidle_ = (maxidle * nsecPerByte) / 8; in rmc_newclass()
256 cl->offtime_ = ((offtime * nsecPerByte) / 8) >> RM_FILTER_GAIN; in rmc_newclass()
261 cl->offtime_ = (offtime * nsecPerByte) / 8; in rmc_newclass()
278 red_pkttime = nsecPerByte * pktsize / 1000; in rmc_newclass()
348 rmc_modclass(struct rm_class *cl, u_int nsecPerByte, int maxq, u_int maxidle, in rmc_modclass() argument
360 cl->allotment_ = RM_NS_PER_SEC / nsecPerByte; /* Bytes per sec */ in rmc_modclass()
[all …]