Lines Matching refs:nsecPerByte
179 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()
362 cl->ns_per_byte_ = nsecPerByte; in rmc_modclass()
367 cl->minidle_ = (minidle * nsecPerByte) / 8; in rmc_modclass()
373 cl->maxidle_ = (maxidle * nsecPerByte) / 8; in rmc_modclass()
378 cl->offtime_ = ((offtime * nsecPerByte) / 8) >> RM_FILTER_GAIN; in rmc_modclass()
383 cl->offtime_ = (offtime * nsecPerByte) / 8; in rmc_modclass()
669 rmc_init(struct ifaltq *ifq, struct rm_ifdat *ifd, u_int nsecPerByte, in rmc_init() argument
685 ifd->ns_per_byte_ = nsecPerByte; in rmc_init()
690 ifd->maxiftime_ = mtu * nsecPerByte / 1000 * 16; in rmc_init()
691 if (mtu * nsecPerByte > 10 * 1000000) in rmc_init()
724 nsecPerByte, in rmc_init()