/Linux-v6.1/include/net/ |
D | inet_connection_sock.h | 122 } 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 …]
|
D | tcp.h | 364 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/ |
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()
|
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-v6.1/net/ipv4/ |
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()
|
D | tcp_timer.c | 295 !(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()
|
D | tcp_input.c | 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() [all …]
|
D | bpf_tcp_ca.c | 99 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()
|
D | tcp_output.c | 175 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 …]
|
D | tcp_minisocks.c | 510 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()
|
D | tcp.c | 1579 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()
|
D | inet_connection_sock.c | 715 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()
|
D | tcp_ipv4.c | 2646 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/ |
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()
|
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()
|
D | bpf_dctcp.c | 193 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/ |
D | bpf_tcp_helpers.h | 54 } icsk_ack; member
|
/Linux-v6.1/include/linux/ |
D | dccp.h | 267 #define dccps_syn_rtt dccps_inet_connection.icsk_ack.lrcvtime
|
/Linux-v6.1/net/mptcp/ |
D | options.c | 432 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()
|
D | protocol.c | 547 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/ |
D | tcp_ipv6.c | 2060 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()
|