Lines Matching refs:ireq
66 const struct inet_request_sock *ireq = inet_rsk(req); in cookie_init_timestamp() local
70 options = ireq->wscale_ok ? ireq->snd_wscale : TS_OPT_WSCALE_MASK; in cookie_init_timestamp()
71 if (ireq->sack_ok) in cookie_init_timestamp()
73 if (ireq->ecn_ok) in cookie_init_timestamp()
281 struct inet_request_sock *ireq; in cookie_v4_check() local
328 ireq = inet_rsk(req); in cookie_v4_check()
336 ireq->ir_num = ntohs(th->dest); in cookie_v4_check()
337 ireq->ir_rmt_port = th->source; in cookie_v4_check()
340 ireq->ir_mark = inet_request_mark(sk, skb); in cookie_v4_check()
341 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v4_check()
342 ireq->sack_ok = tcp_opt.sack_ok; in cookie_v4_check()
343 ireq->wscale_ok = tcp_opt.wscale_ok; in cookie_v4_check()
344 ireq->tstamp_ok = tcp_opt.saw_tstamp; in cookie_v4_check()
349 ireq->smc_ok = 0; in cookie_v4_check()
351 ireq->ir_iif = inet_request_bound_dev_if(sk, skb); in cookie_v4_check()
356 RCU_INIT_POINTER(ireq->ireq_opt, tcp_v4_save_options(sock_net(sk), skb)); in cookie_v4_check()
371 flowi4_init_output(&fl4, ireq->ir_iif, ireq->ir_mark, in cookie_v4_check()
374 opt->srr ? opt->faddr : ireq->ir_rmt_addr, in cookie_v4_check()
375 ireq->ir_loc_addr, th->source, th->dest, sk->sk_uid); in cookie_v4_check()
393 ireq->wscale_ok, &rcv_wscale, in cookie_v4_check()
396 ireq->rcv_wscale = rcv_wscale; in cookie_v4_check()
397 ireq->ecn_ok = cookie_ecn_ok(&tcp_opt, sock_net(sk), &rt->dst); in cookie_v4_check()