Lines Matching refs:tmp_opt
88 struct tcp_options_received tmp_opt; in tcp_timewait_state_process() local
92 tmp_opt.saw_tstamp = 0; in tcp_timewait_state_process()
94 tcp_parse_options(twsk_net(tw), skb, &tmp_opt, 0, NULL); in tcp_timewait_state_process()
96 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
97 if (tmp_opt.rcv_tsecr) in tcp_timewait_state_process()
98 tmp_opt.rcv_tsecr -= tcptw->tw_ts_offset; in tcp_timewait_state_process()
99 tmp_opt.ts_recent = tcptw->tw_ts_recent; in tcp_timewait_state_process()
100 tmp_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp; in tcp_timewait_state_process()
101 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_timewait_state_process()
140 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
142 tcptw->tw_ts_recent = tmp_opt.rcv_tsval; in tcp_timewait_state_process()
185 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
186 tcptw->tw_ts_recent = tmp_opt.rcv_tsval; in tcp_timewait_state_process()
213 (tmp_opt.saw_tstamp && in tcp_timewait_state_process()
214 (s32)(tcptw->tw_ts_recent - tmp_opt.rcv_tsval) < 0))) { in tcp_timewait_state_process()
589 struct tcp_options_received tmp_opt; in tcp_check_req() local
596 tmp_opt.saw_tstamp = 0; in tcp_check_req()
598 tcp_parse_options(sock_net(sk), skb, &tmp_opt, 0, NULL); in tcp_check_req()
600 if (tmp_opt.saw_tstamp) { in tcp_check_req()
601 tmp_opt.ts_recent = req->ts_recent; in tcp_check_req()
602 if (tmp_opt.rcv_tsecr) in tcp_check_req()
603 tmp_opt.rcv_tsecr -= tcp_rsk(req)->ts_off; in tcp_check_req()
608 tmp_opt.ts_recent_stamp = ktime_get_seconds() - reqsk_timeout(req, TCP_RTO_MAX) / HZ; in tcp_check_req()
609 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_check_req()
740 if (tmp_opt.saw_tstamp && !after(TCP_SKB_CB(skb)->seq, tcp_rsk(req)->rcv_nxt)) in tcp_check_req()
741 req->ts_recent = tmp_opt.rcv_tsval; in tcp_check_req()