Lines Matching refs:tcp_opt
135 struct tcp_options_received tcp_opt; in cookie_v6_check() local
164 memset(&tcp_opt, 0, sizeof(tcp_opt)); in cookie_v6_check()
165 tcp_parse_options(sock_net(sk), skb, &tcp_opt, 0, NULL); in cookie_v6_check()
167 if (tcp_opt.saw_tstamp && tcp_opt.rcv_tsecr) { in cookie_v6_check()
171 tcp_opt.rcv_tsecr -= tsoff; in cookie_v6_check()
174 if (!cookie_timestamp_decode(sock_net(sk), &tcp_opt)) in cookie_v6_check()
210 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v6_check()
211 ireq->sack_ok = tcp_opt.sack_ok; in cookie_v6_check()
212 ireq->wscale_ok = tcp_opt.wscale_ok; in cookie_v6_check()
213 ireq->tstamp_ok = tcp_opt.saw_tstamp; in cookie_v6_check()
214 req->ts_recent = tcp_opt.saw_tstamp ? tcp_opt.rcv_tsval : 0; in cookie_v6_check()
255 ireq->ecn_ok = cookie_ecn_ok(&tcp_opt, sock_net(sk), dst); in cookie_v6_check()