Lines Matching refs:tmp_opt
94 struct tcp_options_received tmp_opt; in tcp_timewait_state_process() local
98 tmp_opt.saw_tstamp = 0; in tcp_timewait_state_process()
100 tcp_parse_options(twsk_net(tw), skb, &tmp_opt, 0, NULL); in tcp_timewait_state_process()
102 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
103 if (tmp_opt.rcv_tsecr) in tcp_timewait_state_process()
104 tmp_opt.rcv_tsecr -= tcptw->tw_ts_offset; in tcp_timewait_state_process()
105 tmp_opt.ts_recent = tcptw->tw_ts_recent; in tcp_timewait_state_process()
106 tmp_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp; in tcp_timewait_state_process()
107 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_timewait_state_process()
146 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
148 tcptw->tw_ts_recent = tmp_opt.rcv_tsval; in tcp_timewait_state_process()
191 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
192 tcptw->tw_ts_recent = tmp_opt.rcv_tsval; in tcp_timewait_state_process()
219 (tmp_opt.saw_tstamp && in tcp_timewait_state_process()
220 (s32)(tcptw->tw_ts_recent - tmp_opt.rcv_tsval) < 0))) { in tcp_timewait_state_process()
588 struct tcp_options_received tmp_opt; in tcp_check_req() local
595 tmp_opt.saw_tstamp = 0; in tcp_check_req()
597 tcp_parse_options(sock_net(sk), skb, &tmp_opt, 0, NULL); in tcp_check_req()
599 if (tmp_opt.saw_tstamp) { in tcp_check_req()
600 tmp_opt.ts_recent = req->ts_recent; in tcp_check_req()
601 if (tmp_opt.rcv_tsecr) in tcp_check_req()
602 tmp_opt.rcv_tsecr -= tcp_rsk(req)->ts_off; in tcp_check_req()
607 tmp_opt.ts_recent_stamp = ktime_get_seconds() - ((TCP_TIMEOUT_INIT/HZ)<<req->num_timeout); in tcp_check_req()
608 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()