Searched refs:t_bwmeas (Results 1 – 5 of 5) sorted by relevance
1812 tp->t_bwmeas != NULL) { in tcp_fill_info()1813 ti->tcpi_snd_bw = (tp->t_bwmeas->bw_sndbw * 8000); in tcp_fill_info()2381 if (tp->t_bwmeas == NULL) { in tcp_ctloutput()2382 tp->t_bwmeas = tcp_bwmeas_alloc(tp); in tcp_ctloutput()2383 if (tp->t_bwmeas == NULL) { in tcp_ctloutput()2393 if (tp->t_bwmeas != NULL) { in tcp_ctloutput()2409 tp->t_bwmeas == NULL) { in tcp_ctloutput()2414 tp->t_bwmeas->bw_minsizepkts; in tcp_ctloutput()2416 tp->t_bwmeas->bw_maxsizepkts; in tcp_ctloutput()2421 tp->t_bwmeas->bw_minsizepkts = minpkts; in tcp_ctloutput()[all …]
2398 (tp->t_bwmeas != NULL) && in tcp_output()2400 tp->t_bwmeas->bw_size = min(min( in tcp_output()2403 if (tp->t_bwmeas->bw_minsize > 0 && in tcp_output()2404 tp->t_bwmeas->bw_size < tp->t_bwmeas->bw_minsize) { in tcp_output()2405 tp->t_bwmeas->bw_size = 0; in tcp_output()2407 if (tp->t_bwmeas->bw_maxsize > 0) { in tcp_output()2408 tp->t_bwmeas->bw_size = min(tp->t_bwmeas->bw_size, in tcp_output()2409 tp->t_bwmeas->bw_maxsize); in tcp_output()2411 if (tp->t_bwmeas->bw_size > 0) { in tcp_output()2413 tp->t_bwmeas->bw_start = tp->snd_max; in tcp_output()[all …]
523 if (SEQ_LEQ(tp->snd_una, tp->t_bwmeas->bw_start)) { in tcp_bwmeas_check()527 bw_meas_bytes = tp->snd_una - tp->t_bwmeas->bw_start; in tcp_bwmeas_check()529 bw_meas_bytes >= (int32_t)(tp->t_bwmeas->bw_size)) { in tcp_bwmeas_check()531 elapsed_time = tcp_now - tp->t_bwmeas->bw_ts; in tcp_bwmeas_check()535 if (tp->t_bwmeas->bw_sndbw > 0) { in tcp_bwmeas_check()536 tp->t_bwmeas->bw_sndbw = in tcp_bwmeas_check()537 (((tp->t_bwmeas->bw_sndbw << 3) in tcp_bwmeas_check()538 - tp->t_bwmeas->bw_sndbw) in tcp_bwmeas_check()541 tp->t_bwmeas->bw_sndbw = bw; in tcp_bwmeas_check()545 if (tp->t_bwmeas->bw_sndbw_max == 0) { in tcp_bwmeas_check()[all …]
1202 if (tp->t_bwmeas == NULL) { in tcp_newtcpcb()1203 tp->t_bwmeas = tcp_bwmeas_alloc(tp); in tcp_newtcpcb()1204 if (tp->t_bwmeas == NULL) { in tcp_newtcpcb()1364 if (tp->t_bwmeas != NULL && tp->t_bwmeas->bw_sndbw_max > 0) { in tcp_create_ifnet_stats_per_flow()1365 ifs->bw_sndbw_max = tp->t_bwmeas->bw_sndbw_max; in tcp_create_ifnet_stats_per_flow()1369 if (tp->t_bwmeas != NULL && tp->t_bwmeas->bw_rcvbw_max > 0) { in tcp_create_ifnet_stats_per_flow()1370 ifs->bw_rcvbw_max = tp->t_bwmeas->bw_rcvbw_max; in tcp_create_ifnet_stats_per_flow()1684 if (tp->t_bwmeas != NULL) { in tcp_close()1870 zfree(tcp_bwmeas_zone, tp->t_bwmeas); in tcp_bwmeas_free()1871 tp->t_bwmeas = NULL; in tcp_bwmeas_free()
677 struct bwmeas *t_bwmeas; /* State for bandwidth measurement */ member