Lines Matching +full:echo +full:- +full:active +full:- +full:ms
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
31 return th->doff * 4; in __tcp_hdrlen()
46 return inner_tcp_hdr(skb)->doff * 4; in inner_tcp_hdrlen()
50 * skb_tcp_all_headers - Returns size of all headers for a TCP packet
65 * skb_inner_tcp_all_headers - Returns size of all headers for an encap TCP packet
70 * if (skb_is_gso(skb) && skb->encapsulation) {
81 return (tcp_hdr(skb)->doff - 5) * 4; in tcp_optlen()
114 u32 ts_recent; /* Time stamp to echo next */
116 u32 rcv_tsecr; /* Time stamp echo reply */
119 dsack : 1, /* D-SACK is scheduled */
134 rx_opt->tstamp_ok = rx_opt->sack_ok = 0; in tcp_clear_options()
135 rx_opt->wscale_ok = rx_opt->snd_wscale = 0; in tcp_clear_options()
137 rx_opt->smc_ok = 0; in tcp_clear_options()
166 * after data-in-SYN.
186 return tcp_rsk(req)->used_tcp_ao; in tcp_rsk_used_ao()
201 /* TX read-mostly hotpath cache lines */
213 /* TXRX read-mostly hotpath cache lines */
231 /* RX read-mostly hotpath cache lines */
249 /* TX read-write hotpath cache lines */
269 struct list_head tsorted_sent_queue; /* time-sorted sent but un-SACKed skbs */
278 /* TXRX read-write hotpath cache lines */
306 /* RX read-write hotpath cache lines */
361 u32 last_delivered; /* tp->delivered at last reo_wnd adj */
376 frto : 1;/* F-RTO (RFC5682) activated in CA_Loss */
382 syn_fastopen_ch:1, /* Active TFO re-enabling probe */
383 syn_data_acked:1;/* data in SYN is acked by SYN-ACK */
403 u32 last_oow_ack_time; /* timestamp of last out-of-window ACK */
411 struct tcp_sack_block duplicate_sack[1]; /* D-SACK block */
422 * also used in SYN-SENT to remember stamp of
430 u32 rto_stamp; /* Start time (ms) of last CA_Loss recovery */
432 * SYN/SYN-ACK and recurring timeouts.
437 u32 total_rto_time; /* ms spent in (completed) RTO recoveries. */
453 * it is to avoid the bpf_tcp_cc->init()
457 #define BPF_SOCK_OPS_TEST_FLAG(TP, ARG) (TP->bpf_sock_ops_cb_flags & ARG)
462 u16 timeout_rehash; /* Timeout-triggered rehash attempts */
464 u32 rcv_ooopack; /* Received out-of-order packets, for tcpinfo */
466 /* TCP-specific MTU probe information. */
471 u32 plb_rehash; /* PLB-triggered rehash attempts */
484 /* TCP AF-Specific parts; only used by TCP-AO/MD5 Signature support so far */
542 /* The time we sent the last out-of-window ACK: */
562 return sk->sk_state == TCP_SYN_RECV && in tcp_passive_fastopen()
563 rcu_access_pointer(tcp_sk(sk)->fastopen_rsk) != NULL; in tcp_passive_fastopen()
568 struct request_sock_queue *queue = &inet_csk(sk)->icsk_accept_queue; in fastopen_queue_tune()
569 int somaxconn = READ_ONCE(sock_net(sk)->core.sysctl_somaxconn); in fastopen_queue_tune()
571 WRITE_ONCE(queue->fastopenq.max_qlen, min_t(unsigned int, backlog, somaxconn)); in fastopen_queue_tune()
577 tp->saved_syn = req->saved_syn; in tcp_move_syn()
578 req->saved_syn = NULL; in tcp_move_syn()
583 kfree(tp->saved_syn); in tcp_saved_syn_free()
584 tp->saved_syn = NULL; in tcp_saved_syn_free()
589 return saved_syn->mac_hdrlen + saved_syn->network_hdrlen + in tcp_saved_syn_len()
590 saved_syn->tcp_hdrlen; in tcp_saved_syn_len()
602 u16 user_mss = READ_ONCE(tp->rx_opt.user_mss); in tcp_mss_clamp()