Lines Matching refs:icsk_ack
230 const unsigned int lss = icsk->icsk_ack.last_seg_size; in tcp_measure_rcv_mss()
233 icsk->icsk_ack.last_seg_size = 0; in tcp_measure_rcv_mss()
239 if (len >= icsk->icsk_ack.rcv_mss) { in tcp_measure_rcv_mss()
240 icsk->icsk_ack.rcv_mss = min_t(unsigned int, len, in tcp_measure_rcv_mss()
243 if (unlikely(len > icsk->icsk_ack.rcv_mss + in tcp_measure_rcv_mss()
266 icsk->icsk_ack.last_seg_size = len; in tcp_measure_rcv_mss()
268 icsk->icsk_ack.rcv_mss = len; in tcp_measure_rcv_mss()
272 if (icsk->icsk_ack.pending & ICSK_ACK_PUSHED) in tcp_measure_rcv_mss()
273 icsk->icsk_ack.pending |= ICSK_ACK_PUSHED2; in tcp_measure_rcv_mss()
274 icsk->icsk_ack.pending |= ICSK_ACK_PUSHED; in tcp_measure_rcv_mss()
281 unsigned int quickacks = tcp_sk(sk)->rcv_wnd / (2 * icsk->icsk_ack.rcv_mss); in tcp_incr_quickack()
286 if (quickacks > icsk->icsk_ack.quick) in tcp_incr_quickack()
287 icsk->icsk_ack.quick = quickacks; in tcp_incr_quickack()
296 icsk->icsk_ack.ato = TCP_ATO_MIN; in tcp_enter_quickack_mode()
310 (icsk->icsk_ack.quick && !inet_csk_in_pingpong_mode(sk)); in tcp_in_quickack_mode()
329 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_NOW; in tcp_ecn_accept_cwr()
468 return 2 * inet_csk(sk)->icsk_ack.rcv_mss; in __tcp_grow_window()
522 inet_csk(sk)->icsk_ack.quick |= 1; in tcp_grow_window()
578 icsk->icsk_ack.quick = 0; in tcp_clamp_window()
608 inet_csk(sk)->icsk_ack.rcv_mss = hint; in tcp_initialize_rcv_mss()
683 TCP_SKB_CB(skb)->seq >= inet_csk(sk)->icsk_ack.rcv_mss) { in tcp_rcv_rtt_measure_ts()
787 if (!icsk->icsk_ack.ato) { in tcp_event_data_recv()
792 icsk->icsk_ack.ato = TCP_ATO_MIN; in tcp_event_data_recv()
794 int m = now - icsk->icsk_ack.lrcvtime; in tcp_event_data_recv()
798 icsk->icsk_ack.ato = (icsk->icsk_ack.ato >> 1) + TCP_ATO_MIN / 2; in tcp_event_data_recv()
799 } else if (m < icsk->icsk_ack.ato) { in tcp_event_data_recv()
800 icsk->icsk_ack.ato = (icsk->icsk_ack.ato >> 1) + m; in tcp_event_data_recv()
801 if (icsk->icsk_ack.ato > icsk->icsk_rto) in tcp_event_data_recv()
802 icsk->icsk_ack.ato = icsk->icsk_rto; in tcp_event_data_recv()
811 icsk->icsk_ack.lrcvtime = now; in tcp_event_data_recv()
5036 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_NOW; in tcp_data_queue()
5465 if (((tp->rcv_nxt - tp->rcv_wup) > inet_csk(sk)->icsk_ack.rcv_mss && in __tcp_ack_snd_check()
5476 inet_csk(sk)->icsk_ack.pending & ICSK_ACK_NOW) { in __tcp_ack_snd_check()
5995 icsk->icsk_ack.lrcvtime = tcp_jiffies32; in tcp_finish_connect()