Lines Matching defs:rx_opt
291 tcp_sk(sk)->rx_opt.ts_recent_stamp = jiffies;
297 unsigned long last_overflow = tcp_sk(sk)->rx_opt.ts_recent_stamp;
533 __tcp_fast_path_on(tp, tp->snd_wnd >> tp->rx_opt.snd_wscale);
733 return tp->rx_opt.sack_ok;
743 return tp->rx_opt.sack_ok & 2;
748 tp->rx_opt.sack_ok |= 2;
938 static inline void tcp_sack_reset(struct tcp_options_received *rx_opt)
940 rx_opt->dsack = 0;
941 rx_opt->num_sacks = 0;
970 struct tcp_options_received *rx_opt,
978 req->mss = rx_opt->mss_clamp;
979 req->ts_recent = rx_opt->saw_tstamp ? rx_opt->rcv_tsval : 0;
980 ireq->tstamp_ok = rx_opt->tstamp_ok;
981 ireq->sack_ok = rx_opt->sack_ok;
982 ireq->snd_wscale = rx_opt->snd_wscale;
983 ireq->wscale_ok = rx_opt->wscale_ok;
1026 static inline int tcp_paws_check(const struct tcp_options_received *rx_opt,
1029 if ((s32)(rx_opt->ts_recent - rx_opt->rcv_tsval) <= paws_win)
1031 if (unlikely(get_seconds() >= rx_opt->ts_recent_stamp + TCP_PAWS_24DAYS))
1037 static inline int tcp_paws_reject(const struct tcp_options_received *rx_opt,
1040 if (tcp_paws_check(rx_opt, 0))
1055 if (rst && get_seconds() >= rx_opt->ts_recent_stamp + TCP_PAWS_MSL)