/linux/include/net/ |
A D | inet_connection_sock.h | 121 } icsk_ack; member 177 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_SCHED; in inet_csk_schedule_ack() 182 return inet_csk(sk)->icsk_ack.pending & ICSK_ACK_SCHED; in inet_csk_ack_scheduled() 187 memset(&inet_csk(sk)->icsk_ack, 0, sizeof(inet_csk(sk)->icsk_ack)); in inet_csk_delack_init() 203 icsk->icsk_ack.pending = 0; in inet_csk_clear_xmit_timer() 204 icsk->icsk_ack.retry = 0; in inet_csk_clear_xmit_timer() 234 icsk->icsk_ack.pending |= ICSK_ACK_TIMER; in inet_csk_reset_xmit_timer() 235 icsk->icsk_ack.timeout = jiffies + when; in inet_csk_reset_xmit_timer() 327 inet_csk(sk)->icsk_ack.pingpong = 0; in inet_csk_exit_pingpong_mode() 339 if (icsk->icsk_ack.pingpong < U8_MAX) in inet_csk_inc_pingpong_cnt() [all …]
|
A D | tcp.h | 359 if (icsk->icsk_ack.quick) { in tcp_dec_quickack_mode() 360 if (pkts >= icsk->icsk_ack.quick) { in tcp_dec_quickack_mode() 361 icsk->icsk_ack.quick = 0; in tcp_dec_quickack_mode() 363 icsk->icsk_ack.ato = TCP_ATO_MIN; in tcp_dec_quickack_mode() 365 icsk->icsk_ack.quick -= pkts; in tcp_dec_quickack_mode() 1466 (tcp_receive_window(tp) <= inet_csk(sk)->icsk_ack.rcv_mss); in tcp_epollin_ready() 1501 return min_t(u32, tcp_jiffies32 - icsk->icsk_ack.lrcvtime, in keepalive_time_elapsed()
|
/linux/net/dccp/ |
A D | timer.c | 186 !(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()
|
A D | output.c | 590 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/net/ipv4/ |
A D | tcp_dctcp.h | 29 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()
|
A D | tcp_timer.c | 296 !(icsk->icsk_ack.pending & ICSK_ACK_TIMER)) in tcp_delack_timer_handler() 299 if (time_after(icsk->icsk_ack.timeout, jiffies)) { in tcp_delack_timer_handler() 300 sk_reset_timer(sk, &icsk->icsk_delack_timer, icsk->icsk_ack.timeout); in tcp_delack_timer_handler() 303 icsk->icsk_ack.pending &= ~ICSK_ACK_TIMER; in tcp_delack_timer_handler() 308 icsk->icsk_ack.ato = min(icsk->icsk_ack.ato << 1, icsk->icsk_rto); in tcp_delack_timer_handler() 314 icsk->icsk_ack.ato = TCP_ATO_MIN; in tcp_delack_timer_handler()
|
A D | tcp_input.c | 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() 268 icsk->icsk_ack.rcv_mss = len; in tcp_measure_rcv_mss() 287 icsk->icsk_ack.quick = quickacks; in tcp_incr_quickack() 296 icsk->icsk_ack.ato = TCP_ATO_MIN; in tcp_enter_quickack_mode() 578 icsk->icsk_ack.quick = 0; in tcp_clamp_window() 787 if (!icsk->icsk_ack.ato) { in tcp_event_data_recv() 792 icsk->icsk_ack.ato = TCP_ATO_MIN; in tcp_event_data_recv() 798 icsk->icsk_ack.ato = (icsk->icsk_ack.ato >> 1) + TCP_ATO_MIN / 2; in tcp_event_data_recv() 800 icsk->icsk_ack.ato = (icsk->icsk_ack.ato >> 1) + m; in tcp_event_data_recv() [all …]
|
A D | bpf_tcp_ca.c | 114 case offsetof(struct inet_connection_sock, icsk_ack.pending): in bpf_tcp_ca_btf_struct_access() 116 icsk_ack.pending); in bpf_tcp_ca_btf_struct_access()
|
A D | tcp_output.c | 174 if (before(tp->lsndtime, icsk->icsk_ack.lrcvtime) && in tcp_event_data_sent() 175 (u32)(now - icsk->icsk_ack.lrcvtime) < icsk->icsk_ack.ato) in tcp_event_data_sent() 2943 int mss = icsk->icsk_ack.rcv_mss; in __tcp_select_window() 2959 icsk->icsk_ack.quick = 0; in __tcp_select_window() 3868 int ato = icsk->icsk_ack.ato; in tcp_send_delayed_ack() 3876 (icsk->icsk_ack.pending & ICSK_ACK_PUSHED)) in tcp_send_delayed_ack() 3902 if (icsk->icsk_ack.pending & ICSK_ACK_TIMER) { in tcp_send_delayed_ack() 3910 timeout = icsk->icsk_ack.timeout; in tcp_send_delayed_ack() 3913 icsk->icsk_ack.timeout = timeout; in tcp_send_delayed_ack() 3938 icsk->icsk_ack.retry++; in __tcp_send_ack() [all …]
|
A D | tcp_minisocks.c | 489 newicsk->icsk_ack.lrcvtime = tcp_jiffies32; in tcp_create_openreq_child() 538 newicsk->icsk_ack.last_seg_size = skb->len - newtp->tcp_header_len; in tcp_create_openreq_child()
|
A D | tcp.c | 1542 tp->rcv_nxt - tp->rcv_wup > icsk->icsk_ack.rcv_mss || in tcp_cleanup_rbuf() 1550 ((icsk->icsk_ack.pending & ICSK_ACK_PUSHED2) || in tcp_cleanup_rbuf() 1551 ((icsk->icsk_ack.pending & ICSK_ACK_PUSHED) && in tcp_cleanup_rbuf() 3012 icsk->icsk_ack.rcv_mss = TCP_MIN_MSS; in tcp_disconnect() 3235 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_PUSHED; in __tcp_sock_set_quickack() 3743 info->tcpi_ato = jiffies_to_usecs(icsk->icsk_ack.ato); in tcp_get_info() 3745 info->tcpi_rcv_mss = icsk->icsk_ack.rcv_mss; in tcp_get_info() 3755 info->tcpi_last_data_recv = jiffies_to_msecs(now - icsk->icsk_ack.lrcvtime); in tcp_get_info()
|
A D | inet_connection_sock.c | 568 icsk->icsk_pending = icsk->icsk_ack.pending = 0; in inet_csk_init_xmit_timers() 576 icsk->icsk_pending = icsk->icsk_ack.pending = 0; in inet_csk_clear_xmit_timers()
|
A D | tcp_ipv4.c | 2658 jiffies_to_clock_t(icsk->icsk_ack.ato), in get_tcp4_sock() 2659 (icsk->icsk_ack.quick << 1) | inet_csk_in_pingpong_mode(sk), in get_tcp4_sock()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | bpf_iter_tcp4.c | 66 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()
|
A D | bpf_iter_tcp6.c | 66 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()
|
A D | bpf_dctcp.c | 184 if (inet_csk(sk)->icsk_ack.pending & ICSK_ACK_TIMER) { in dctcp_ece_ack_update() 188 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_NOW; in dctcp_ece_ack_update()
|
/linux/tools/testing/selftests/bpf/ |
A D | bpf_tcp_helpers.h | 50 } icsk_ack; member
|
/linux/include/linux/ |
A D | dccp.h | 267 #define dccps_syn_rtt dccps_inet_connection.icsk_ack.lrcvtime
|
/linux/net/mptcp/ |
A D | options.c | 430 icsk->icsk_ack.timeout = 0; in clear_3rdack_retransmission() 431 icsk->icsk_ack.ato = 0; in clear_3rdack_retransmission() 432 icsk->icsk_ack.pending &= ~(ICSK_ACK_SCHED | ICSK_ACK_TIMER); in clear_3rdack_retransmission()
|
A D | protocol.c | 532 u8 ack_pending = READ_ONCE(icsk->icsk_ack.pending); in mptcp_subflow_could_cleanup() 537 READ_ONCE(icsk->icsk_ack.rcv_mss)) || in mptcp_subflow_could_cleanup() 3019 WARN_ON_ONCE(icsk->icsk_ack.pending & ICSK_ACK_TIMER); in schedule_3rdack_retransmission() 3020 icsk->icsk_ack.pending |= ICSK_ACK_SCHED | ICSK_ACK_TIMER; in schedule_3rdack_retransmission() 3021 icsk->icsk_ack.timeout = timeout; in schedule_3rdack_retransmission()
|
/linux/net/ipv6/ |
A D | tcp_ipv6.c | 2075 jiffies_to_clock_t(icsk->icsk_ack.ato), in get_tcp6_sock() 2076 (icsk->icsk_ack.quick << 1) | inet_csk_in_pingpong_mode(sp), in get_tcp6_sock()
|