Searched refs:maxidle (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/sys/net/altq/
H A Daltq_cbq.h86 int maxidle; member in struct:_cbq_class_stats_
120 u_int maxidle; member in struct:cbq_class_spec
H A Daltq_cbq.c222 statsp->maxidle = cl->maxidle_;
392 opts->maxidle, opts->minidle, opts->offtime,
399 opts->maxidle, opts->minidle, opts->offtime,
691 acp->cbq_class.maxq, acp->cbq_class.maxidle,
736 spec->maxidle, spec->minidle, spec->offtime,
743 spec->maxidle, spec->minidle, spec->offtime,
1139 printf("w_allotment=%d, bytes_alloc=%d, avgidle=%d, maxidle=%d\n",
H A Daltq_rmclass.c153 * maxidle max value allowed for class 'idle' time estimate (this
167 * maxidle = ptime * (1 - g^b) / g^b
171 * Operationally, it's convenient to specify maxidle & offtime in units
172 * independent of the link bandwidth so the maxidle & offtime passed to
176 * maxidle*nsecPerByte/8 and offtime*nsecPerByte/8 will be in microseconds,
179 * maxidle also must be scaled upward by this value. Thus, the passed
180 * values for maxidle and offtime can be computed as follows:
182 * maxidle = maxidle * 2^RM_FILTER_GAIN * 8 / (1000 * nsecPerByte)
185 * When USE_HRTIME is employed, then maxidle an
190 rmc_newclass(int pri, struct rm_ifdat *ifd, u_int nsecPerByte, void (*action)(rm_class_t *, rm_class_t *), int maxq, struct rm_class *parent, struct rm_class *borrow, u_int maxidle, int minidle, u_int offtime, int pktsize, int flags) argument
359 rmc_modclass(struct rm_class *cl, u_int nsecPerByte, int maxq, u_int maxidle, int minidle, u_int offtime, int pktsize) argument
681 rmc_init(struct ifaltq *ifq, struct rm_ifdat *ifd, u_int nsecPerByte, void (*restart)(struct ifaltq *), int maxq, int maxqueued, u_int maxidle, int minidle, u_int offtime, int flags) argument
[all...]
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf_altq.h42 u_int maxidle; member in struct:cbq_opts
/freebsd-11-stable/sys/net/
H A Dflowtable.c435 flow_stale(struct flowtable *ft, struct flentry *fle, int maxidle) argument
444 if (time_uptime - fle->f_uptime > maxidle)
760 flowtable_free_stale(struct flowtable *ft, struct rtentry *rt, int maxidle) argument
803 if (!flow_stale(ft, fle, maxidle)) {
833 flowtable_clean_vnet(struct flowtable *ft, struct rtentry *rt, int maxidle) argument
844 flowtable_free_stale(ft, rt, maxidle);
887 uint32_t flowclean_freq, maxidle; local
893 maxidle = 5;
895 maxidle = 30;
901 flowtable_clean_vnet(&V_ip4_ft, NULL, maxidle);
[all...]
/freebsd-11-stable/sbin/pfctl/
H A Dpfctl_altq.c470 * compute ns_per_byte, maxidle, minidle, and offtime
476 double maxidle_s, maxidle, minidle; local
525 maxidle = ((1.0 / f - 1.0) * ((1.0 - gton) / gton));
527 if (maxidle > maxidle_s)
528 maxidle = ptime * maxidle;
530 maxidle = ptime * maxidle_s;
535 maxidle = ((maxidle * 8.0) / nsPerByte) *
542 maxidle
[all...]

Completed in 63 milliseconds