Lines Matching refs:tmp_opt
95 struct tcp_options_received tmp_opt;
99 tmp_opt.saw_tstamp = 0;
101 tcp_parse_options(twsk_net(tw), skb, &tmp_opt, 0, NULL);
103 if (tmp_opt.saw_tstamp) {
104 if (tmp_opt.rcv_tsecr)
105 tmp_opt.rcv_tsecr -= tcptw->tw_ts_offset;
106 tmp_opt.ts_recent = tcptw->tw_ts_recent;
107 tmp_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp;
108 paws_reject = tcp_paws_reject(&tmp_opt, th->rst);
147 if (tmp_opt.saw_tstamp) {
149 tcptw->tw_ts_recent = tmp_opt.rcv_tsval;
192 if (tmp_opt.saw_tstamp) {
193 tcptw->tw_ts_recent = tmp_opt.rcv_tsval;
220 (tmp_opt.saw_tstamp &&
221 (s32)(tcptw->tw_ts_recent - tmp_opt.rcv_tsval) < 0))) {
567 * We don't need to initialize tmp_opt.sack_ok as we don't use the results
577 struct tcp_options_received tmp_opt;
584 tmp_opt.saw_tstamp = 0;
586 tcp_parse_options(sock_net(sk), skb, &tmp_opt, 0, NULL);
588 if (tmp_opt.saw_tstamp) {
589 tmp_opt.ts_recent = READ_ONCE(req->ts_recent);
590 if (tmp_opt.rcv_tsecr)
591 tmp_opt.rcv_tsecr -= tcp_rsk(req)->ts_off;
596 tmp_opt.ts_recent_stamp = ktime_get_seconds() - ((TCP_TIMEOUT_INIT/HZ)<<req->num_timeout);
597 paws_reject = tcp_paws_reject(&tmp_opt, th->rst);
732 if (tmp_opt.saw_tstamp && !after(TCP_SKB_CB(skb)->seq, tcp_rsk(req)->rcv_nxt))
733 WRITE_ONCE(req->ts_recent, tmp_opt.rcv_tsval);