Lines Matching refs:ireq
67 struct inet_request_sock *ireq; in cookie_init_timestamp() local
71 ireq = inet_rsk(req); in cookie_init_timestamp()
73 options = ireq->wscale_ok ? ireq->snd_wscale : TS_OPT_WSCALE_MASK; in cookie_init_timestamp()
74 if (ireq->sack_ok) in cookie_init_timestamp()
76 if (ireq->ecn_ok) in cookie_init_timestamp()
287 struct inet_request_sock *ireq; in cookie_v4_check() local
333 ireq = inet_rsk(req); in cookie_v4_check()
340 ireq->ir_num = ntohs(th->dest); in cookie_v4_check()
341 ireq->ir_rmt_port = th->source; in cookie_v4_check()
344 ireq->ir_mark = inet_request_mark(sk, skb); in cookie_v4_check()
345 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v4_check()
346 ireq->sack_ok = tcp_opt.sack_ok; in cookie_v4_check()
347 ireq->wscale_ok = tcp_opt.wscale_ok; in cookie_v4_check()
348 ireq->tstamp_ok = tcp_opt.saw_tstamp; in cookie_v4_check()
353 ireq->smc_ok = 0; in cookie_v4_check()
355 ireq->ir_iif = inet_request_bound_dev_if(sk, skb); in cookie_v4_check()
360 RCU_INIT_POINTER(ireq->ireq_opt, tcp_v4_save_options(sock_net(sk), skb)); in cookie_v4_check()
375 flowi4_init_output(&fl4, ireq->ir_iif, ireq->ir_mark, in cookie_v4_check()
378 opt->srr ? opt->faddr : ireq->ir_rmt_addr, in cookie_v4_check()
379 ireq->ir_loc_addr, th->source, th->dest, sk->sk_uid); in cookie_v4_check()
392 ireq->wscale_ok, &rcv_wscale, in cookie_v4_check()
395 ireq->rcv_wscale = rcv_wscale; in cookie_v4_check()
396 ireq->ecn_ok = cookie_ecn_ok(&tcp_opt, sock_net(sk), &rt->dst); in cookie_v4_check()