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 */
214 /* TXRX read-mostly hotpath cache lines */
232 /* RX read-mostly hotpath cache lines */
249 /* TX read-write hotpath cache lines */
271 struct list_head tsorted_sent_queue; /* time-sorted sent but un-SACKed skbs */
280 /* TXRX read-write hotpath cache lines */
306 /* RX read-write hotpath cache lines */
353 u32 last_oow_ack_time; /* timestamp of last out-of-window ACK */
362 u32 last_delivered; /* tp->delivered at last reo_wnd adj */
378 frto : 1;/* F-RTO (RFC5682) activated in CA_Loss */
384 syn_fastopen_ch:1, /* Active TFO re-enabling probe */
385 syn_data_acked:1;/* data in SYN is acked by SYN-ACK */
412 struct tcp_sack_block duplicate_sack[1]; /* D-SACK block */
423 * also used in SYN-SENT to remember stamp of
431 u32 rto_stamp; /* Start time (ms) of last CA_Loss recovery */
433 * SYN/SYN-ACK and recurring timeouts.
438 u32 total_rto_time; /* ms spent in (completed) RTO recoveries. */
454 * it is to avoid the bpf_tcp_cc->init()
458 #define BPF_SOCK_OPS_TEST_FLAG(TP, ARG) (TP->bpf_sock_ops_cb_flags & ARG)
463 u16 timeout_rehash; /* Timeout-triggered rehash attempts */
465 u32 rcv_ooopack; /* Received out-of-order packets, for tcpinfo */
467 /* TCP-specific MTU probe information. */
472 u32 plb_rehash; /* PLB-triggered rehash attempts */
485 /* TCP AF-Specific parts; only used by TCP-AO/MD5 Signature support so far */
543 /* The time we sent the last out-of-window ACK: */
563 return sk->sk_state == TCP_SYN_RECV && in tcp_passive_fastopen()
564 rcu_access_pointer(tcp_sk(sk)->fastopen_rsk) != NULL; in tcp_passive_fastopen()
569 struct request_sock_queue *queue = &inet_csk(sk)->icsk_accept_queue; in fastopen_queue_tune()
570 int somaxconn = READ_ONCE(sock_net(sk)->core.sysctl_somaxconn); in fastopen_queue_tune()
572 WRITE_ONCE(queue->fastopenq.max_qlen, min_t(unsigned int, backlog, somaxconn)); in fastopen_queue_tune()
578 tp->saved_syn = req->saved_syn; in tcp_move_syn()
579 req->saved_syn = NULL; in tcp_move_syn()
584 kfree(tp->saved_syn); in tcp_saved_syn_free()
585 tp->saved_syn = NULL; in tcp_saved_syn_free()
590 return saved_syn->mac_hdrlen + saved_syn->network_hdrlen + in tcp_saved_syn_len()
591 saved_syn->tcp_hdrlen; in tcp_saved_syn_len()
603 u16 user_mss = READ_ONCE(tp->rx_opt.user_mss); in tcp_mss_clamp()