Lines Matching refs:rx_opt
502 unsigned long last_overflow = tcp_sk(sk)->rx_opt.ts_recent_stamp; in tcp_synq_overflow()
506 tcp_sk(sk)->rx_opt.ts_recent_stamp = now; in tcp_synq_overflow()
512 unsigned long last_overflow = tcp_sk(sk)->rx_opt.ts_recent_stamp; in tcp_synq_no_recent_overflow()
643 __tcp_fast_path_on(tp, tp->snd_wnd >> tp->rx_opt.snd_wscale); in tcp_fast_path_on()
945 return tp->rx_opt.sack_ok; in tcp_is_sack()
955 return tp->rx_opt.sack_ok & TCP_FACK_ENABLED; in tcp_is_fack()
960 tp->rx_opt.sack_ok |= TCP_FACK_ENABLED; in tcp_enable_fack()
1173 static inline void tcp_sack_reset(struct tcp_options_received *rx_opt) in tcp_sack_reset() argument
1175 rx_opt->dsack = 0; in tcp_sack_reset()
1176 rx_opt->num_sacks = 0; in tcp_sack_reset()
1258 static inline bool tcp_paws_check(const struct tcp_options_received *rx_opt, in tcp_paws_check() argument
1261 if ((s32)(rx_opt->ts_recent - rx_opt->rcv_tsval) <= paws_win) in tcp_paws_check()
1263 if (unlikely(get_seconds() >= rx_opt->ts_recent_stamp + TCP_PAWS_24DAYS)) in tcp_paws_check()
1270 if (!rx_opt->ts_recent) in tcp_paws_check()
1275 static inline bool tcp_paws_reject(const struct tcp_options_received *rx_opt, in tcp_paws_reject() argument
1278 if (tcp_paws_check(rx_opt, 0)) in tcp_paws_reject()
1293 if (rst && get_seconds() >= rx_opt->ts_recent_stamp + TCP_PAWS_MSL) in tcp_paws_reject()