Lines Matching +full:timestamp +full:- +full:names
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()
117 u16 saw_tstamp : 1, /* Saw TIMESTAMP on last packet */
118 tstamp_ok : 1, /* TIMESTAMP seen on SYN packet */
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()
165 * after data-in-SYN.
190 * RFC793 variables by their proper names. This means you can
226 u32 rcv_tstamp; /* timestamp of last received ACK (for keepalives) */
227 u32 lsndtime; /* timestamp of last sent data packet (for restart window) */
228 u32 last_oow_ack_time; /* timestamp of last out-of-window ACK */
231 u32 tsoffset; /* timestamp offset */
234 struct list_head tsorted_sent_queue; /* time-sorted sent but un-SACKed skbs */
249 u32 last_delivered; /* tp->delivered at last reo_wnd adj */
273 frto : 1;/* F-RTO (RFC5682) activated in CA_Loss */
279 syn_fastopen_ch:1, /* Active TFO re-enabling probe */
280 syn_data_acked:1,/* data in SYN is acked by SYN-ACK */
355 struct tcp_sack_block duplicate_sack[1]; /* D-SACK block */
371 u32 retrans_stamp; /* Timestamp of the last retransmit,
372 * also used in SYN-SENT to remember stamp of
395 * it is to avoid the bpf_tcp_cc->init()
399 #define BPF_SOCK_OPS_TEST_FLAG(TP, ARG) (TP->bpf_sock_ops_cb_flags & ARG)
404 u16 timeout_rehash; /* Timeout-triggered rehash attempts */
406 u32 rcv_ooopack; /* Received out-of-order packets, for tcpinfo */
423 /* TCP-specific MTU probe information. */
428 u32 plb_rehash; /* PLB-triggered rehash attempts */
441 /* TCP AF-Specific parts; only used by MD5 Signature support so far */
492 /* The time we sent the last out-of-window ACK: */
509 return sk->sk_state == TCP_SYN_RECV && in tcp_passive_fastopen()
510 rcu_access_pointer(tcp_sk(sk)->fastopen_rsk) != NULL; in tcp_passive_fastopen()
515 struct request_sock_queue *queue = &inet_csk(sk)->icsk_accept_queue; in fastopen_queue_tune()
516 int somaxconn = READ_ONCE(sock_net(sk)->core.sysctl_somaxconn); in fastopen_queue_tune()
518 WRITE_ONCE(queue->fastopenq.max_qlen, min_t(unsigned int, backlog, somaxconn)); in fastopen_queue_tune()
524 tp->saved_syn = req->saved_syn; in tcp_move_syn()
525 req->saved_syn = NULL; in tcp_move_syn()
530 kfree(tp->saved_syn); in tcp_saved_syn_free()
531 tp->saved_syn = NULL; in tcp_saved_syn_free()
536 return saved_syn->mac_hdrlen + saved_syn->network_hdrlen + in tcp_saved_syn_len()
537 saved_syn->tcp_hdrlen; in tcp_saved_syn_len()
549 u16 user_mss = READ_ONCE(tp->rx_opt.user_mss); in tcp_mss_clamp()