Lines Matching refs:tmp_opt

95 	struct tcp_options_received tmp_opt;  in tcp_timewait_state_process()  local
99 tmp_opt.saw_tstamp = 0; in tcp_timewait_state_process()
101 tcp_parse_options(twsk_net(tw), skb, &tmp_opt, 0, NULL); in tcp_timewait_state_process()
103 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
104 if (tmp_opt.rcv_tsecr) in tcp_timewait_state_process()
105 tmp_opt.rcv_tsecr -= tcptw->tw_ts_offset; in tcp_timewait_state_process()
106 tmp_opt.ts_recent = tcptw->tw_ts_recent; in tcp_timewait_state_process()
107 tmp_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp; in tcp_timewait_state_process()
108 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_timewait_state_process()
147 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
149 tcptw->tw_ts_recent = tmp_opt.rcv_tsval; in tcp_timewait_state_process()
192 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
193 tcptw->tw_ts_recent = tmp_opt.rcv_tsval; in tcp_timewait_state_process()
220 (tmp_opt.saw_tstamp && in tcp_timewait_state_process()
221 (s32)(tcptw->tw_ts_recent - tmp_opt.rcv_tsval) < 0))) { in tcp_timewait_state_process()
574 struct tcp_options_received tmp_opt; in tcp_check_req() local
581 tmp_opt.saw_tstamp = 0; in tcp_check_req()
583 tcp_parse_options(sock_net(sk), skb, &tmp_opt, 0, NULL); in tcp_check_req()
585 if (tmp_opt.saw_tstamp) { in tcp_check_req()
586 tmp_opt.ts_recent = req->ts_recent; in tcp_check_req()
587 if (tmp_opt.rcv_tsecr) in tcp_check_req()
588 tmp_opt.rcv_tsecr -= tcp_rsk(req)->ts_off; in tcp_check_req()
593 tmp_opt.ts_recent_stamp = ktime_get_seconds() - ((TCP_TIMEOUT_INIT/HZ)<<req->num_timeout); in tcp_check_req()
594 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_check_req()
726 if (tmp_opt.saw_tstamp && !after(TCP_SKB_CB(skb)->seq, tcp_rsk(req)->rcv_nxt)) in tcp_check_req()
727 req->ts_recent = tmp_opt.rcv_tsval; in tcp_check_req()