Searched refs:rx_opt (Results 1 – 8 of 8) sorted by relevance
/net/ipv4/ |
D | tcp_lp.c | 150 if (tp->rx_opt.rcv_tsval == lp->remote_ref_time || in tcp_lp_remote_hz_estimator() 151 tp->rx_opt.rcv_tsecr == lp->local_ref_time) in tcp_lp_remote_hz_estimator() 155 (tp->rx_opt.rcv_tsval - lp->remote_ref_time) / in tcp_lp_remote_hz_estimator() 156 (tp->rx_opt.rcv_tsecr - lp->local_ref_time); in tcp_lp_remote_hz_estimator() 174 lp->remote_ref_time = tp->rx_opt.rcv_tsval; in tcp_lp_remote_hz_estimator() 175 lp->local_ref_time = tp->rx_opt.rcv_tsecr; in tcp_lp_remote_hz_estimator() 201 tp->rx_opt.rcv_tsval * (LP_RESOL / lp->remote_hz) - in tcp_lp_owd_calculator() 202 tp->rx_opt.rcv_tsecr * (LP_RESOL / TCP_TS_HZ); in tcp_lp_owd_calculator() 282 delta = now - tp->rx_opt.rcv_tsecr; in tcp_lp_pkts_acked()
|
D | tcp_minisocks.c | 270 tw->tw_rcv_wscale = tp->rx_opt.rcv_wscale; in tcp_time_wait() 274 tcptw->tw_ts_recent = tp->rx_opt.ts_recent; in tcp_time_wait() 275 tcptw->tw_ts_recent_stamp = tp->rx_opt.ts_recent_stamp; in tcp_time_wait() 509 newtp->rx_opt.tstamp_ok = ireq->tstamp_ok; in tcp_create_openreq_child() 510 newtp->rx_opt.sack_ok = ireq->sack_ok; in tcp_create_openreq_child() 514 newtp->rx_opt.wscale_ok = ireq->wscale_ok; in tcp_create_openreq_child() 515 if (newtp->rx_opt.wscale_ok) { in tcp_create_openreq_child() 516 newtp->rx_opt.snd_wscale = ireq->snd_wscale; in tcp_create_openreq_child() 517 newtp->rx_opt.rcv_wscale = ireq->rcv_wscale; in tcp_create_openreq_child() 519 newtp->rx_opt.snd_wscale = newtp->rx_opt.rcv_wscale = 0; in tcp_create_openreq_child() [all …]
|
D | tcp_input.c | 146 bool unknown_opt = tcp_sk(sk)->rx_opt.saw_unknown && in bpf_skops_parse_hdr() 423 per_mss = max_t(u32, tp->rx_opt.mss_clamp, tp->mss_cache) + in tcp_sndbuf_expand() 684 if (tp->rx_opt.rcv_tsecr == tp->rcv_rtt_last_tsecr) in tcp_rcv_rtt_measure_ts() 686 tp->rcv_rtt_last_tsecr = tp->rx_opt.rcv_tsecr; in tcp_rcv_rtt_measure_ts() 690 u32 delta = tcp_time_stamp(tp) - tp->rx_opt.rcv_tsecr; in tcp_rcv_rtt_measure_ts() 1017 tp->rx_opt.sack_ok |= TCP_DSACK_SEEN; in tcp_dsack_seen() 1053 tp->rx_opt.sack_ok, inet_csk(sk)->icsk_ca_state, in tcp_check_sack_reordering() 2409 return tp->rx_opt.saw_tstamp && tp->rx_opt.rcv_tsecr && in tcp_tsopt_ecr_before() 2410 before(tp->rx_opt.rcv_tsecr, when); in tcp_tsopt_ecr_before() 3114 if (seq_rtt_us < 0 && tp->rx_opt.saw_tstamp && tp->rx_opt.rcv_tsecr && in tcp_ack_update_rtt() [all …]
|
D | tcp_output.c | 100 (tp->rx_opt.wscale_ok && in tcp_acceptable_seq() 101 ((tp->snd_nxt - tcp_wnd_end(tp)) < (1 << tp->rx_opt.rcv_wscale)))) in tcp_acceptable_seq() 275 new_win = ALIGN(cur_win, 1 << tp->rx_opt.rcv_wscale); in tcp_select_window() 283 if (!tp->rx_opt.rcv_wscale && in tcp_select_window() 287 new_win = min(new_win, (65535U << tp->rx_opt.rcv_wscale)); in tcp_select_window() 290 new_win >>= tp->rx_opt.rcv_wscale; in tcp_select_window() 657 struct tcp_sack_block *sp = tp->rx_opt.dsack ? in tcp_options_write() 673 tp->rx_opt.dsack = 0; in tcp_options_write() 792 opts->tsecr = tp->rx_opt.ts_recent; in tcp_syn_options() 796 opts->ws = tp->rx_opt.rcv_wscale; in tcp_syn_options() [all …]
|
D | tcp.c | 3064 memset(&tp->rx_opt, 0, sizeof(tp->rx_opt)); in tcp_disconnect() 3095 tp->rx_opt.saw_tstamp = 0; in tcp_disconnect() 3096 tp->rx_opt.dsack = 0; in tcp_disconnect() 3097 tp->rx_opt.num_sacks = 0; in tcp_disconnect() 3173 tp->rx_opt.mss_clamp = opt.opt_val; in tcp_repair_options_est() 3184 tp->rx_opt.snd_wscale = snd_wscale; in tcp_repair_options_est() 3185 tp->rx_opt.rcv_wscale = rcv_wscale; in tcp_repair_options_est() 3186 tp->rx_opt.wscale_ok = 1; in tcp_repair_options_est() 3193 tp->rx_opt.sack_ok |= TCP_SACK_SEEN; in tcp_repair_options_est() 3199 tp->rx_opt.tstamp_ok = 1; in tcp_repair_options_est() [all …]
|
D | tcp_rate.c | 172 tp->rx_opt.sack_ok, tcp_min_rtt(tp)); in tcp_rate_gen()
|
D | tcp_ipv4.c | 173 tp->rx_opt.ts_recent = tcptw->tw_ts_recent; in tcp_twsk_unique() 174 tp->rx_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp; in tcp_twsk_unique() 254 if (tp->rx_opt.ts_recent_stamp && inet->inet_daddr != daddr) { in tcp_v4_connect() 256 tp->rx_opt.ts_recent = 0; in tcp_v4_connect() 257 tp->rx_opt.ts_recent_stamp = 0; in tcp_v4_connect() 269 tp->rx_opt.mss_clamp = TCP_MSS_DEFAULT; in tcp_v4_connect()
|
/net/ipv6/ |
D | tcp_ipv6.c | 215 if (tp->rx_opt.ts_recent_stamp && in tcp_v6_connect() 217 tp->rx_opt.ts_recent = 0; in tcp_v6_connect() 218 tp->rx_opt.ts_recent_stamp = 0; in tcp_v6_connect() 307 tp->rx_opt.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_connect()
|