Home
last modified time | relevance | path

Searched refs:newnp (Results 1 – 3 of 3) sorted by relevance

/net/dccp/
Dipv6.c459 struct ipv6_pinfo *newnp, *np = inet6_sk(sk); in dccp_v6_request_recv_sock() local
476 newnp = inet6_sk(newsk); in dccp_v6_request_recv_sock()
478 memcpy(newnp, np, sizeof(struct ipv6_pinfo)); in dccp_v6_request_recv_sock()
482 ipv6_addr_set_v4mapped(newinet->inet_saddr, &newnp->saddr); in dccp_v6_request_recv_sock()
484 newsk->sk_v6_rcv_saddr = newnp->saddr; in dccp_v6_request_recv_sock()
488 newnp->pktoptions = NULL; in dccp_v6_request_recv_sock()
489 newnp->opt = NULL; in dccp_v6_request_recv_sock()
490 newnp->ipv6_mc_list = NULL; in dccp_v6_request_recv_sock()
491 newnp->ipv6_ac_list = NULL; in dccp_v6_request_recv_sock()
492 newnp->ipv6_fl_list = NULL; in dccp_v6_request_recv_sock()
[all …]
/net/ipv6/
Dtcp_ipv6.c1076 struct ipv6_pinfo *newnp, *np = inet6_sk(sk); in tcp_v6_syn_recv_sock() local
1101 newnp = inet6_sk(newsk); in tcp_v6_syn_recv_sock()
1104 memcpy(newnp, np, sizeof(struct ipv6_pinfo)); in tcp_v6_syn_recv_sock()
1108 ipv6_addr_set_v4mapped(newinet->inet_saddr, &newnp->saddr); in tcp_v6_syn_recv_sock()
1110 newsk->sk_v6_rcv_saddr = newnp->saddr; in tcp_v6_syn_recv_sock()
1118 newnp->ipv6_mc_list = NULL; in tcp_v6_syn_recv_sock()
1119 newnp->ipv6_ac_list = NULL; in tcp_v6_syn_recv_sock()
1120 newnp->ipv6_fl_list = NULL; in tcp_v6_syn_recv_sock()
1121 newnp->pktoptions = NULL; in tcp_v6_syn_recv_sock()
1122 newnp->opt = NULL; in tcp_v6_syn_recv_sock()
[all …]
/net/sctp/
Dipv6.c657 struct ipv6_pinfo *newnp, *np = inet6_sk(sk); in sctp_v6_create_accept_sk() local
675 newnp = inet6_sk(newsk); in sctp_v6_create_accept_sk()
677 memcpy(newnp, np, sizeof(struct ipv6_pinfo)); in sctp_v6_create_accept_sk()
678 newnp->ipv6_mc_list = NULL; in sctp_v6_create_accept_sk()
679 newnp->ipv6_ac_list = NULL; in sctp_v6_create_accept_sk()
680 newnp->ipv6_fl_list = NULL; in sctp_v6_create_accept_sk()
686 RCU_INIT_POINTER(newnp->opt, opt); in sctp_v6_create_accept_sk()