Lines Matching refs:newnp
1220 struct ipv6_pinfo *newnp; in tcp_v6_syn_recv_sock() local
1247 newnp = tcp_inet6_sk(newsk); in tcp_v6_syn_recv_sock()
1250 memcpy(newnp, np, sizeof(struct ipv6_pinfo)); in tcp_v6_syn_recv_sock()
1252 newnp->saddr = newsk->sk_v6_rcv_saddr; in tcp_v6_syn_recv_sock()
1262 newnp->ipv6_mc_list = NULL; in tcp_v6_syn_recv_sock()
1263 newnp->ipv6_ac_list = NULL; in tcp_v6_syn_recv_sock()
1264 newnp->ipv6_fl_list = NULL; in tcp_v6_syn_recv_sock()
1265 newnp->pktoptions = NULL; in tcp_v6_syn_recv_sock()
1266 newnp->opt = NULL; in tcp_v6_syn_recv_sock()
1267 newnp->mcast_oif = inet_iif(skb); in tcp_v6_syn_recv_sock()
1268 newnp->mcast_hops = ip_hdr(skb)->ttl; in tcp_v6_syn_recv_sock()
1269 newnp->rcv_flowinfo = 0; in tcp_v6_syn_recv_sock()
1271 newnp->flow_label = 0; in tcp_v6_syn_recv_sock()
1317 newnp = tcp_inet6_sk(newsk); in tcp_v6_syn_recv_sock()
1319 memcpy(newnp, np, sizeof(struct ipv6_pinfo)); in tcp_v6_syn_recv_sock()
1322 newnp->saddr = ireq->ir_v6_loc_addr; in tcp_v6_syn_recv_sock()
1331 newnp->ipv6_mc_list = NULL; in tcp_v6_syn_recv_sock()
1332 newnp->ipv6_ac_list = NULL; in tcp_v6_syn_recv_sock()
1333 newnp->ipv6_fl_list = NULL; in tcp_v6_syn_recv_sock()
1336 newnp->rxopt.all = np->rxopt.all; in tcp_v6_syn_recv_sock()
1338 newnp->pktoptions = NULL; in tcp_v6_syn_recv_sock()
1339 newnp->opt = NULL; in tcp_v6_syn_recv_sock()
1340 newnp->mcast_oif = tcp_v6_iif(skb); in tcp_v6_syn_recv_sock()
1341 newnp->mcast_hops = ipv6_hdr(skb)->hop_limit; in tcp_v6_syn_recv_sock()
1342 newnp->rcv_flowinfo = ip6_flowinfo(ipv6_hdr(skb)); in tcp_v6_syn_recv_sock()
1344 newnp->flow_label = ip6_flowlabel(ipv6_hdr(skb)); in tcp_v6_syn_recv_sock()
1350 newnp->tclass = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK; in tcp_v6_syn_recv_sock()
1363 RCU_INIT_POINTER(newnp->opt, opt); in tcp_v6_syn_recv_sock()
1409 newnp->pktoptions = skb_clone(ireq->pktopts, in tcp_v6_syn_recv_sock()
1413 if (newnp->pktoptions) { in tcp_v6_syn_recv_sock()
1414 tcp_v6_restore_cb(newnp->pktoptions); in tcp_v6_syn_recv_sock()
1415 skb_set_owner_r(newnp->pktoptions, newsk); in tcp_v6_syn_recv_sock()