Lines Matching refs:newnp
1201 struct ipv6_pinfo *newnp; in tcp_v6_syn_recv_sock() local
1227 newnp = tcp_inet6_sk(newsk); in tcp_v6_syn_recv_sock()
1230 memcpy(newnp, np, sizeof(struct ipv6_pinfo)); in tcp_v6_syn_recv_sock()
1232 newnp->saddr = newsk->sk_v6_rcv_saddr; in tcp_v6_syn_recv_sock()
1242 newnp->ipv6_mc_list = NULL; in tcp_v6_syn_recv_sock()
1243 newnp->ipv6_ac_list = NULL; in tcp_v6_syn_recv_sock()
1244 newnp->ipv6_fl_list = NULL; in tcp_v6_syn_recv_sock()
1245 newnp->pktoptions = NULL; in tcp_v6_syn_recv_sock()
1246 newnp->opt = NULL; in tcp_v6_syn_recv_sock()
1247 newnp->mcast_oif = inet_iif(skb); in tcp_v6_syn_recv_sock()
1248 newnp->mcast_hops = ip_hdr(skb)->ttl; in tcp_v6_syn_recv_sock()
1249 newnp->rcv_flowinfo = 0; in tcp_v6_syn_recv_sock()
1251 newnp->flow_label = 0; in tcp_v6_syn_recv_sock()
1297 newnp = tcp_inet6_sk(newsk); in tcp_v6_syn_recv_sock()
1299 memcpy(newnp, np, sizeof(struct ipv6_pinfo)); in tcp_v6_syn_recv_sock()
1302 newnp->saddr = ireq->ir_v6_loc_addr; in tcp_v6_syn_recv_sock()
1311 newnp->ipv6_mc_list = NULL; in tcp_v6_syn_recv_sock()
1312 newnp->ipv6_ac_list = NULL; in tcp_v6_syn_recv_sock()
1313 newnp->ipv6_fl_list = NULL; in tcp_v6_syn_recv_sock()
1316 newnp->rxopt.all = np->rxopt.all; in tcp_v6_syn_recv_sock()
1318 newnp->pktoptions = NULL; in tcp_v6_syn_recv_sock()
1319 newnp->opt = NULL; in tcp_v6_syn_recv_sock()
1320 newnp->mcast_oif = tcp_v6_iif(skb); in tcp_v6_syn_recv_sock()
1321 newnp->mcast_hops = ipv6_hdr(skb)->hop_limit; in tcp_v6_syn_recv_sock()
1322 newnp->rcv_flowinfo = ip6_flowinfo(ipv6_hdr(skb)); in tcp_v6_syn_recv_sock()
1324 newnp->flow_label = ip6_flowlabel(ipv6_hdr(skb)); in tcp_v6_syn_recv_sock()
1330 newnp->tclass = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK; in tcp_v6_syn_recv_sock()
1343 RCU_INIT_POINTER(newnp->opt, opt); in tcp_v6_syn_recv_sock()
1389 newnp->pktoptions = skb_clone_and_charge_r(ireq->pktopts, newsk); in tcp_v6_syn_recv_sock()
1392 if (newnp->pktoptions) in tcp_v6_syn_recv_sock()
1393 tcp_v6_restore_cb(newnp->pktoptions); in tcp_v6_syn_recv_sock()