Lines Matching refs:GET_TCB_FIELD
475 #define GET_TCB_FIELD(tcb, F) \ macro
649 if (GET_TCB_FIELD(tcb, SND_MAX_RAW) != GET_TCB_FIELD(tcb, SND_UNA_RAW)) { in update_tcb_histent()
650 if (GET_TCB_FIELD(tcb, T_RXTSHIFT) != 0) in update_tcb_histent()
652 if (GET_TCB_FIELD(tcb, T_DUPACKS) != 0) in update_tcb_histent()
654 if (GET_TCB_FIELD(tcb, T_DUPACKS) >= td->dupack_threshold) in update_tcb_histent()
658 if (GET_TCB_FIELD(tcb, SND_MAX_RAW) != 0) { in update_tcb_histent()
663 snd_wnd = GET_TCB_FIELD(tcb, RCV_ADV); in update_tcb_histent()
665 snd_wnd <<= GET_TCB_FIELD(tcb, RCV_SCALE); in update_tcb_histent()
666 if (GET_TCB_FIELD(tcb, SND_CWND) < snd_wnd) in update_tcb_histent()
706 remove = GET_TCB_FIELD(tcb, T_STATE) == TCPS_CLOSED; in do_get_tcb_rpl()
712 (uintmax_t)get_tcb_tflags(tcb), GET_TCB_FIELD(tcb, T_STATE), in do_get_tcb_rpl()
713 GET_TCB_FIELD(tcb, T_SRTT), GET_TCB_FIELD(tcb, SND_SCALE), in do_get_tcb_rpl()
714 GET_TCB_FIELD(tcb, RCV_SCALE), cpl->cookie); in do_get_tcb_rpl()
737 ti->tcpi_state = GET_TCB_FIELD(tcb, T_STATE); in fill_tcp_info_from_tcb()
739 v = GET_TCB_FIELD(tcb, T_SRTT); in fill_tcp_info_from_tcb()
742 v = GET_TCB_FIELD(tcb, T_RTTVAR); in fill_tcp_info_from_tcb()
745 ti->tcpi_snd_ssthresh = GET_TCB_FIELD(tcb, SND_SSTHRESH); in fill_tcp_info_from_tcb()
746 ti->tcpi_snd_cwnd = GET_TCB_FIELD(tcb, SND_CWND); in fill_tcp_info_from_tcb()
747 ti->tcpi_rcv_nxt = GET_TCB_FIELD(tcb, RCV_NXT); in fill_tcp_info_from_tcb()
748 ti->tcpi_rcv_adv = GET_TCB_FIELD(tcb, RCV_ADV); in fill_tcp_info_from_tcb()
749 ti->tcpi_dupacks = GET_TCB_FIELD(tcb, T_DUPACKS); in fill_tcp_info_from_tcb()
751 v = GET_TCB_FIELD(tcb, TX_MAX); in fill_tcp_info_from_tcb()
752 ti->tcpi_snd_nxt = v - GET_TCB_FIELD(tcb, SND_NXT_RAW); in fill_tcp_info_from_tcb()
753 ti->tcpi_snd_una = v - GET_TCB_FIELD(tcb, SND_UNA_RAW); in fill_tcp_info_from_tcb()
754 ti->tcpi_snd_max = v - GET_TCB_FIELD(tcb, SND_MAX_RAW); in fill_tcp_info_from_tcb()
757 ti->tcpi_rcv_wscale = GET_TCB_FIELD(tcb, SND_SCALE); /* Yes, SND. */ in fill_tcp_info_from_tcb()
758 ti->tcpi_rcv_space = GET_TCB_FIELD(tcb, RCV_WND); in fill_tcp_info_from_tcb()
761 ti->tcpi_snd_wscale = GET_TCB_FIELD(tcb, RCV_SCALE); /* Yes, RCV. */ in fill_tcp_info_from_tcb()
762 ti->tcpi_snd_wnd = GET_TCB_FIELD(tcb, RCV_ADV); in fill_tcp_info_from_tcb()