Lines Matching refs:tcp_opt
130 struct tcp_options_received tcp_opt; in cookie_v6_check() local
160 memset(&tcp_opt, 0, sizeof(tcp_opt)); in cookie_v6_check()
161 tcp_parse_options(sock_net(sk), skb, &tcp_opt, 0, NULL); in cookie_v6_check()
163 if (tcp_opt.saw_tstamp && tcp_opt.rcv_tsecr) { in cookie_v6_check()
167 tcp_opt.rcv_tsecr -= tsoff; in cookie_v6_check()
170 if (!cookie_timestamp_decode(sock_net(sk), &tcp_opt)) in cookie_v6_check()
207 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v6_check()
208 ireq->sack_ok = tcp_opt.sack_ok; in cookie_v6_check()
209 ireq->wscale_ok = tcp_opt.wscale_ok; in cookie_v6_check()
210 ireq->tstamp_ok = tcp_opt.saw_tstamp; in cookie_v6_check()
211 req->ts_recent = tcp_opt.saw_tstamp ? tcp_opt.rcv_tsval : 0; in cookie_v6_check()
258 ireq->ecn_ok = cookie_ecn_ok(&tcp_opt, sock_net(sk), dst); in cookie_v6_check()