Lines Matching refs:tmp_opt
88 struct tcp_options_received tmp_opt;
92 tmp_opt.saw_tstamp = 0;
94 tcp_parse_options(twsk_net(tw), skb, &tmp_opt, 0, NULL);
96 if (tmp_opt.saw_tstamp) {
97 if (tmp_opt.rcv_tsecr)
98 tmp_opt.rcv_tsecr -= tcptw->tw_ts_offset;
99 tmp_opt.ts_recent = tcptw->tw_ts_recent;
100 tmp_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp;
101 paws_reject = tcp_paws_reject(&tmp_opt, th->rst);
140 if (tmp_opt.saw_tstamp) {
142 tcptw->tw_ts_recent = tmp_opt.rcv_tsval;
185 if (tmp_opt.saw_tstamp) {
186 tcptw->tw_ts_recent = tmp_opt.rcv_tsval;
213 (tmp_opt.saw_tstamp &&
214 (s32)(tcptw->tw_ts_recent - tmp_opt.rcv_tsval) < 0))) {
593 * We don't need to initialize tmp_opt.sack_ok as we don't use the results
603 struct tcp_options_received tmp_opt;
610 tmp_opt.saw_tstamp = 0;
612 tcp_parse_options(sock_net(sk), skb, &tmp_opt, 0, NULL);
614 if (tmp_opt.saw_tstamp) {
615 tmp_opt.ts_recent = READ_ONCE(req->ts_recent);
616 if (tmp_opt.rcv_tsecr)
617 tmp_opt.rcv_tsecr -= tcp_rsk(req)->ts_off;
622 tmp_opt.ts_recent_stamp = ktime_get_seconds() - reqsk_timeout(req, TCP_RTO_MAX) / HZ;
623 paws_reject = tcp_paws_reject(&tmp_opt, th->rst);
757 if (tmp_opt.saw_tstamp && !after(TCP_SKB_CB(skb)->seq, tcp_rsk(req)->rcv_nxt))
758 WRITE_ONCE(req->ts_recent, tmp_opt.rcv_tsval);