Home
last modified time | relevance | path

Searched refs:icsk_ack (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.1/include/net/
Dinet_connection_sock.h122 } icsk_ack; member
178 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_SCHED; in inet_csk_schedule_ack()
183 return inet_csk(sk)->icsk_ack.pending & ICSK_ACK_SCHED; in inet_csk_ack_scheduled()
188 memset(&inet_csk(sk)->icsk_ack, 0, sizeof(inet_csk(sk)->icsk_ack)); in inet_csk_delack_init()
204 icsk->icsk_ack.pending = 0; in inet_csk_clear_xmit_timer()
205 icsk->icsk_ack.retry = 0; in inet_csk_clear_xmit_timer()
235 icsk->icsk_ack.pending |= ICSK_ACK_TIMER; in inet_csk_reset_xmit_timer()
236 icsk->icsk_ack.timeout = jiffies + when; in inet_csk_reset_xmit_timer()
237 sk_reset_timer(sk, &icsk->icsk_delack_timer, icsk->icsk_ack.timeout); in inet_csk_reset_xmit_timer()
331 inet_csk(sk)->icsk_ack.pingpong = TCP_PINGPONG_THRESH; in inet_csk_enter_pingpong_mode()
[all …]
Dtcp.h364 if (icsk->icsk_ack.quick) { in tcp_dec_quickack_mode()
365 if (pkts >= icsk->icsk_ack.quick) { in tcp_dec_quickack_mode()
366 icsk->icsk_ack.quick = 0; in tcp_dec_quickack_mode()
368 icsk->icsk_ack.ato = TCP_ATO_MIN; in tcp_dec_quickack_mode()
370 icsk->icsk_ack.quick -= pkts; in tcp_dec_quickack_mode()
1498 (tcp_receive_window(tp) <= inet_csk(sk)->icsk_ack.rcv_mss); in tcp_epollin_ready()
1536 return min_t(u32, tcp_jiffies32 - icsk->icsk_ack.lrcvtime, in keepalive_time_elapsed()
/Linux-v6.1/net/dccp/
Dtimer.c186 !(icsk->icsk_ack.pending & ICSK_ACK_TIMER)) in dccp_delack_timer()
188 if (time_after(icsk->icsk_ack.timeout, jiffies)) { in dccp_delack_timer()
190 icsk->icsk_ack.timeout); in dccp_delack_timer()
194 icsk->icsk_ack.pending &= ~ICSK_ACK_TIMER; in dccp_delack_timer()
199 icsk->icsk_ack.ato = min(icsk->icsk_ack.ato << 1, in dccp_delack_timer()
206 icsk->icsk_ack.ato = TCP_ATO_MIN; in dccp_delack_timer()
Doutput.c590 inet_csk(sk)->icsk_ack.ato = TCP_ATO_MIN; in dccp_send_ack()
619 if (icsk->icsk_ack.pending & ICSK_ACK_TIMER) {
625 if (icsk->icsk_ack.blocked) {
630 if (!time_before(timeout, icsk->icsk_ack.timeout))
631 timeout = icsk->icsk_ack.timeout;
633 icsk->icsk_ack.pending |= ICSK_ACK_SCHED | ICSK_ACK_TIMER;
634 icsk->icsk_ack.timeout = timeout;
/Linux-v6.1/net/ipv4/
Dtcp_dctcp.h29 if (inet_csk(sk)->icsk_ack.pending & ICSK_ACK_TIMER) { in dctcp_ece_ack_update()
33 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_NOW; in dctcp_ece_ack_update()
Dtcp_timer.c295 !(icsk->icsk_ack.pending & ICSK_ACK_TIMER)) in tcp_delack_timer_handler()
298 if (time_after(icsk->icsk_ack.timeout, jiffies)) { in tcp_delack_timer_handler()
299 sk_reset_timer(sk, &icsk->icsk_delack_timer, icsk->icsk_ack.timeout); in tcp_delack_timer_handler()
302 icsk->icsk_ack.pending &= ~ICSK_ACK_TIMER; in tcp_delack_timer_handler()
307 icsk->icsk_ack.ato = min(icsk->icsk_ack.ato << 1, icsk->icsk_rto); in tcp_delack_timer_handler()
313 icsk->icsk_ack.ato = TCP_ATO_MIN; in tcp_delack_timer_handler()
Dtcp_input.c230 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()
[all …]
Dbpf_tcp_ca.c99 case offsetof(struct inet_connection_sock, icsk_ack.pending): in bpf_tcp_ca_btf_struct_access()
101 icsk_ack.pending); in bpf_tcp_ca_btf_struct_access()
Dtcp_output.c175 if ((u32)(now - icsk->icsk_ack.lrcvtime) < icsk->icsk_ack.ato) in tcp_event_data_sent()
2959 int mss = icsk->icsk_ack.rcv_mss; in __tcp_select_window()
2975 icsk->icsk_ack.quick = 0; in __tcp_select_window()
3898 int ato = icsk->icsk_ack.ato; in tcp_send_delayed_ack()
3906 (icsk->icsk_ack.pending & ICSK_ACK_PUSHED)) in tcp_send_delayed_ack()
3932 if (icsk->icsk_ack.pending & ICSK_ACK_TIMER) { in tcp_send_delayed_ack()
3934 if (time_before_eq(icsk->icsk_ack.timeout, jiffies + (ato >> 2))) { in tcp_send_delayed_ack()
3939 if (!time_before(timeout, icsk->icsk_ack.timeout)) in tcp_send_delayed_ack()
3940 timeout = icsk->icsk_ack.timeout; in tcp_send_delayed_ack()
3942 icsk->icsk_ack.pending |= ICSK_ACK_SCHED | ICSK_ACK_TIMER; in tcp_send_delayed_ack()
[all …]
Dtcp_minisocks.c510 newicsk->icsk_ack.lrcvtime = tcp_jiffies32; in tcp_create_openreq_child()
559 newicsk->icsk_ack.last_seg_size = skb->len - newtp->tcp_header_len; in tcp_create_openreq_child()
Dtcp.c1579 tp->rcv_nxt - tp->rcv_wup > icsk->icsk_ack.rcv_mss || in __tcp_cleanup_rbuf()
1587 ((icsk->icsk_ack.pending & ICSK_ACK_PUSHED2) || in __tcp_cleanup_rbuf()
1588 ((icsk->icsk_ack.pending & ICSK_ACK_PUSHED) && in __tcp_cleanup_rbuf()
3156 icsk->icsk_ack.rcv_mss = TCP_MIN_MSS; in tcp_disconnect()
3378 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_PUSHED; in __tcp_sock_set_quickack()
3888 info->tcpi_ato = jiffies_to_usecs(icsk->icsk_ack.ato); in tcp_get_info()
3890 info->tcpi_rcv_mss = icsk->icsk_ack.rcv_mss; in tcp_get_info()
3900 info->tcpi_last_data_recv = jiffies_to_msecs(now - icsk->icsk_ack.lrcvtime); in tcp_get_info()
Dinet_connection_sock.c715 icsk->icsk_pending = icsk->icsk_ack.pending = 0; in inet_csk_init_xmit_timers()
723 icsk->icsk_pending = icsk->icsk_ack.pending = 0; in inet_csk_clear_xmit_timers()
Dtcp_ipv4.c2646 jiffies_to_clock_t(icsk->icsk_ack.ato), in get_tcp4_sock()
2647 (icsk->icsk_ack.quick << 1) | inet_csk_in_pingpong_mode(sk), in get_tcp4_sock()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c66 return icsk->icsk_ack.pingpong >= TCP_PINGPONG_THRESH; in inet_csk_in_pingpong_mode()
137 jiffies_to_clock_t(icsk->icsk_ack.ato), in dump_tcp_sock()
138 (icsk->icsk_ack.quick << 1) | inet_csk_in_pingpong_mode(icsk), in dump_tcp_sock()
Dbpf_iter_tcp6.c66 return icsk->icsk_ack.pingpong >= TCP_PINGPONG_THRESH; in inet_csk_in_pingpong_mode()
141 jiffies_to_clock_t(icsk->icsk_ack.ato), in dump_tcp6_sock()
142 (icsk->icsk_ack.quick << 1) | inet_csk_in_pingpong_mode(icsk), in dump_tcp6_sock()
Dbpf_dctcp.c193 if (inet_csk(sk)->icsk_ack.pending & ICSK_ACK_TIMER) { in dctcp_ece_ack_update()
197 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_NOW; in dctcp_ece_ack_update()
/Linux-v6.1/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h54 } icsk_ack; member
/Linux-v6.1/include/linux/
Ddccp.h267 #define dccps_syn_rtt dccps_inet_connection.icsk_ack.lrcvtime
/Linux-v6.1/net/mptcp/
Doptions.c432 icsk->icsk_ack.timeout = 0; in clear_3rdack_retransmission()
433 icsk->icsk_ack.ato = 0; in clear_3rdack_retransmission()
434 icsk->icsk_ack.pending &= ~(ICSK_ACK_SCHED | ICSK_ACK_TIMER); in clear_3rdack_retransmission()
Dprotocol.c547 u8 ack_pending = READ_ONCE(icsk->icsk_ack.pending); in mptcp_subflow_could_cleanup()
552 READ_ONCE(icsk->icsk_ack.rcv_mss)) || in mptcp_subflow_could_cleanup()
3306 WARN_ON_ONCE(icsk->icsk_ack.pending & ICSK_ACK_TIMER); in schedule_3rdack_retransmission()
3307 icsk->icsk_ack.pending |= ICSK_ACK_SCHED | ICSK_ACK_TIMER; in schedule_3rdack_retransmission()
3308 icsk->icsk_ack.timeout = timeout; in schedule_3rdack_retransmission()
/Linux-v6.1/net/ipv6/
Dtcp_ipv6.c2060 jiffies_to_clock_t(icsk->icsk_ack.ato), in get_tcp6_sock()
2061 (icsk->icsk_ack.quick << 1) | inet_csk_in_pingpong_mode(sp), in get_tcp6_sock()