Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_time_wait.c603 int32_t rgap; in tcp_time_wait_processing() local
637 rgap = tcp->tcp_rwnd - (gap + seg_len); in tcp_time_wait_processing()
680 if ((flags & TH_SYN) && gap > 0 && rgap < 0) { in tcp_time_wait_processing()
764 if (rgap < 0) { in tcp_time_wait_processing()
766 TCPS_UPDATE_MIB(tcps, tcpInDataPastWinBytes, -rgap); in tcp_time_wait_processing()
768 seg_len += rgap; in tcp_time_wait_processing()
H A Dtcp_input.c2496 int32_t rgap; in tcp_input_data() local
3118 rgap = tcp->tcp_rwnd - (gap + seg_len); in tcp_input_data()
3180 gap, rgap, flags, seg_seq, seg_ack, in tcp_input_data()
3248 if (rgap < 0) { in tcp_input_data()
3256 TCPS_UPDATE_MIB(tcps, tcpInDataPastWinBytes, -rgap); in tcp_input_data()
3269 seg_len += rgap; in tcp_input_data()
3360 rgap = seg_len; in tcp_input_data()
3365 rgap -= (int)(mp2->b_wptr - mp2->b_rptr); in tcp_input_data()
3366 if (rgap < 0) { in tcp_input_data()
3367 mp2->b_wptr += rgap; in tcp_input_data()
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp.c2627 int32_t rgap; in tcp_rput_data() local
2970 rgap = tcp->tcp_rwnd - (gap + seg_len); in tcp_rput_data()
3017 gap, rgap, flags, seg_seq, seg_ack, in tcp_rput_data()
3077 if (rgap < 0) { in tcp_rput_data()
3084 UPDATE_MIB(tcp_mib.tcpInDataPastWinBytes, -rgap); in tcp_rput_data()
3097 seg_len += rgap; in tcp_rput_data()
3130 rgap = seg_len; in tcp_rput_data()
3135 rgap -= (int)(mp2->b_wptr - mp2->b_rptr); in tcp_rput_data()
3136 if (rgap < 0) { in tcp_rput_data()
3137 mp2->b_wptr += rgap; in tcp_rput_data()
[all …]