Lines Matching refs:tmp_opt

103 	struct tcp_options_received tmp_opt;  in tcp_timewait_state_process()  local
107 tmp_opt.saw_tstamp = 0; in tcp_timewait_state_process()
109 tcp_parse_options(skb, &tmp_opt, 0, NULL); in tcp_timewait_state_process()
111 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
112 tmp_opt.rcv_tsecr -= tcptw->tw_ts_offset; in tcp_timewait_state_process()
113 tmp_opt.ts_recent = tcptw->tw_ts_recent; in tcp_timewait_state_process()
114 tmp_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp; in tcp_timewait_state_process()
115 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_timewait_state_process()
157 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
159 tcptw->tw_ts_recent = tmp_opt.rcv_tsval; in tcp_timewait_state_process()
206 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
207 tcptw->tw_ts_recent = tmp_opt.rcv_tsval; in tcp_timewait_state_process()
234 (tmp_opt.saw_tstamp && in tcp_timewait_state_process()
235 (s32)(tcptw->tw_ts_recent - tmp_opt.rcv_tsval) < 0))) { in tcp_timewait_state_process()
575 struct tcp_options_received tmp_opt; in tcp_check_req() local
582 tmp_opt.saw_tstamp = 0; in tcp_check_req()
584 tcp_parse_options(skb, &tmp_opt, 0, NULL); in tcp_check_req()
586 if (tmp_opt.saw_tstamp) { in tcp_check_req()
587 tmp_opt.ts_recent = req->ts_recent; in tcp_check_req()
592 tmp_opt.ts_recent_stamp = get_seconds() - ((TCP_TIMEOUT_INIT/HZ)<<req->num_timeout); in tcp_check_req()
593 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_check_req()
722 if (tmp_opt.saw_tstamp && !after(TCP_SKB_CB(skb)->seq, tcp_rsk(req)->rcv_nxt)) in tcp_check_req()
723 req->ts_recent = tmp_opt.rcv_tsval; in tcp_check_req()