Lines Matching refs:ireq
65 struct inet_request_sock *ireq; in cookie_init_timestamp() local
69 ireq = inet_rsk(req); in cookie_init_timestamp()
71 options = ireq->wscale_ok ? ireq->snd_wscale : TS_OPT_WSCALE_MASK; in cookie_init_timestamp()
72 if (ireq->sack_ok) in cookie_init_timestamp()
74 if (ireq->ecn_ok) in cookie_init_timestamp()
329 struct inet_request_sock *ireq; in cookie_v4_check() local
377 ireq = inet_rsk(req); in cookie_v4_check()
384 ireq->ir_num = ntohs(th->dest); in cookie_v4_check()
385 ireq->ir_rmt_port = th->source; in cookie_v4_check()
388 ireq->ir_mark = inet_request_mark(sk, skb); in cookie_v4_check()
389 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v4_check()
390 ireq->sack_ok = tcp_opt.sack_ok; in cookie_v4_check()
391 ireq->wscale_ok = tcp_opt.wscale_ok; in cookie_v4_check()
392 ireq->tstamp_ok = tcp_opt.saw_tstamp; in cookie_v4_check()
398 ireq->smc_ok = 0; in cookie_v4_check()
400 ireq->ir_iif = inet_request_bound_dev_if(sk, skb); in cookie_v4_check()
405 RCU_INIT_POINTER(ireq->ireq_opt, tcp_v4_save_options(sock_net(sk), skb)); in cookie_v4_check()
420 flowi4_init_output(&fl4, ireq->ir_iif, ireq->ir_mark, in cookie_v4_check()
423 opt->srr ? opt->faddr : ireq->ir_rmt_addr, in cookie_v4_check()
424 ireq->ir_loc_addr, th->source, th->dest, sk->sk_uid); in cookie_v4_check()
442 ireq->wscale_ok, &rcv_wscale, in cookie_v4_check()
445 ireq->rcv_wscale = rcv_wscale; in cookie_v4_check()
446 ireq->ecn_ok = cookie_ecn_ok(&tcp_opt, sock_net(sk), &rt->dst); in cookie_v4_check()