Lines Matching refs:treq

481 	struct inet6_request_sock *treq = inet6_rsk(req);  in tcp_v6_send_synack()  local
492 fl6.daddr = treq->rmt_addr; in tcp_v6_send_synack()
493 fl6.saddr = treq->loc_addr; in tcp_v6_send_synack()
495 fl6.flowi6_oif = treq->iif; in tcp_v6_send_synack()
513 __tcp_v6_send_check(skb, &treq->loc_addr, &treq->rmt_addr); in tcp_v6_send_synack()
515 fl6.daddr = treq->rmt_addr; in tcp_v6_send_synack()
1056 struct inet6_request_sock *treq; in tcp_v6_conn_request() local
1140 treq = inet6_rsk(req); in tcp_v6_conn_request()
1141 treq->rmt_addr = ipv6_hdr(skb)->saddr; in tcp_v6_conn_request()
1142 treq->loc_addr = ipv6_hdr(skb)->daddr; in tcp_v6_conn_request()
1146 treq->iif = sk->sk_bound_dev_if; in tcp_v6_conn_request()
1150 ipv6_addr_type(&treq->rmt_addr) & IPV6_ADDR_LINKLOCAL) in tcp_v6_conn_request()
1151 treq->iif = inet6_iif(skb); in tcp_v6_conn_request()
1160 treq->pktopts = skb; in tcp_v6_conn_request()
1183 &treq->rmt_addr)) { in tcp_v6_conn_request()
1206 &treq->rmt_addr, ntohs(tcp_hdr(skb)->source)); in tcp_v6_conn_request()
1238 struct inet6_request_sock *treq; in tcp_v6_syn_recv_sock() local
1303 treq = inet6_rsk(req); in tcp_v6_syn_recv_sock()
1337 newnp->daddr = treq->rmt_addr; in tcp_v6_syn_recv_sock()
1338 newnp->saddr = treq->loc_addr; in tcp_v6_syn_recv_sock()
1339 newnp->rcv_saddr = treq->loc_addr; in tcp_v6_syn_recv_sock()
1340 newsk->sk_bound_dev_if = treq->iif; in tcp_v6_syn_recv_sock()
1355 if (treq->pktopts != NULL) { in tcp_v6_syn_recv_sock()
1356 newnp->pktoptions = skb_clone(treq->pktopts, GFP_ATOMIC); in tcp_v6_syn_recv_sock()
1357 kfree_skb(treq->pktopts); in tcp_v6_syn_recv_sock()
1358 treq->pktopts = NULL; in tcp_v6_syn_recv_sock()