Lines Matching refs:ireq
198 struct inet_request_sock *ireq = inet_rsk(req); in dccp_v6_send_response() local
208 fl6.daddr = ireq->ir_v6_rmt_addr; in dccp_v6_send_response()
209 fl6.saddr = ireq->ir_v6_loc_addr; in dccp_v6_send_response()
211 fl6.flowi6_oif = ireq->ir_iif; in dccp_v6_send_response()
212 fl6.fl6_dport = ireq->ir_rmt_port; in dccp_v6_send_response()
213 fl6.fl6_sport = htons(ireq->ir_num); in dccp_v6_send_response()
234 &ireq->ir_v6_loc_addr, in dccp_v6_send_response()
235 &ireq->ir_v6_rmt_addr); in dccp_v6_send_response()
236 fl6.daddr = ireq->ir_v6_rmt_addr; in dccp_v6_send_response()
238 opt = ireq->ipv6_opt; in dccp_v6_send_response()
322 struct inet_request_sock *ireq; in dccp_v6_conn_request() local
366 ireq = inet_rsk(req); in dccp_v6_conn_request()
367 ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; in dccp_v6_conn_request()
368 ireq->ir_v6_loc_addr = ipv6_hdr(skb)->daddr; in dccp_v6_conn_request()
369 ireq->ireq_family = AF_INET6; in dccp_v6_conn_request()
370 ireq->ir_mark = inet_request_mark(sk, skb); in dccp_v6_conn_request()
376 ireq->pktopts = skb; in dccp_v6_conn_request()
378 ireq->ir_iif = READ_ONCE(sk->sk_bound_dev_if); in dccp_v6_conn_request()
381 if (!ireq->ir_iif && in dccp_v6_conn_request()
382 ipv6_addr_type(&ireq->ir_v6_rmt_addr) & IPV6_ADDR_LINKLOCAL) in dccp_v6_conn_request()
383 ireq->ir_iif = inet6_iif(skb); in dccp_v6_conn_request()
419 struct inet_request_sock *ireq = inet_rsk(req); in dccp_v6_request_recv_sock() local
502 newsk->sk_v6_daddr = ireq->ir_v6_rmt_addr; in dccp_v6_request_recv_sock()
503 newnp->saddr = ireq->ir_v6_loc_addr; in dccp_v6_request_recv_sock()
504 newsk->sk_v6_rcv_saddr = ireq->ir_v6_loc_addr; in dccp_v6_request_recv_sock()
505 newsk->sk_bound_dev_if = ireq->ir_iif; in dccp_v6_request_recv_sock()
530 opt = ireq->ipv6_opt; in dccp_v6_request_recv_sock()
554 if (*own_req && ireq->pktopts) { in dccp_v6_request_recv_sock()
555 newnp->pktoptions = skb_clone_and_charge_r(ireq->pktopts, newsk); in dccp_v6_request_recv_sock()
556 consume_skb(ireq->pktopts); in dccp_v6_request_recv_sock()
557 ireq->pktopts = NULL; in dccp_v6_request_recv_sock()