• Home
  • Raw
  • Download

Lines Matching refs:np

66 	struct ipv6_pinfo *np = inet6_sk(sk);  in dccp_v6_send_check()  local
70 dh->dccph_checksum = dccp_v6_csum_finish(skb, &np->saddr, &np->daddr); in dccp_v6_send_check()
88 struct ipv6_pinfo *np; in dccp_v6_err() local
131 np = inet6_sk(sk); in dccp_v6_err()
134 struct dst_entry *dst = __sk_dst_check(sk, np->dst_cookie); in dccp_v6_err()
204 if (!sock_owned_by_user(sk) && np->recverr) { in dccp_v6_err()
219 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_send_response() local
238 final_p = fl6_update_dst(&fl6, rcu_dereference(np->opt), &final); in dccp_v6_send_response()
257 err = ip6_xmit(sk, skb, &fl6, rcu_dereference(np->opt), in dccp_v6_send_response()
258 np->tclass); in dccp_v6_send_response()
367 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_conn_request() local
410 np->rxopt.bits.rxinfo || np->rxopt.bits.rxoinfo || in dccp_v6_conn_request()
411 np->rxopt.bits.rxhlim || np->rxopt.bits.rxohlim) { in dccp_v6_conn_request()
454 struct ipv6_pinfo *newnp, *np = inet6_sk(sk); in dccp_v6_request_recv_sock() local
473 memcpy(newnp, np, sizeof(struct ipv6_pinfo)); in dccp_v6_request_recv_sock()
517 final_p = fl6_update_dst(&fl6, np->opt, &final); in dccp_v6_request_recv_sock()
547 memcpy(newnp, np, sizeof(struct ipv6_pinfo)); in dccp_v6_request_recv_sock()
561 newnp->rxopt.all = np->rxopt.all; in dccp_v6_request_recv_sock()
586 opt = rcu_dereference(np->opt); in dccp_v6_request_recv_sock()
629 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_do_rcv() local
664 if (np->rxopt.all) in dccp_v6_do_rcv()
843 struct ipv6_pinfo *np = inet6_sk(sk); in dccp_v6_connect() local
862 if (np->sndflow) { in dccp_v6_connect()
903 np->daddr = usin->sin6_addr; in dccp_v6_connect()
904 np->flow_label = fl6.flowlabel; in dccp_v6_connect()
932 ipv6_addr_set_v4mapped(inet->inet_saddr, &np->saddr); in dccp_v6_connect()
933 ipv6_addr_set_v4mapped(inet->inet_rcv_saddr, &np->rcv_saddr); in dccp_v6_connect()
938 if (!ipv6_addr_any(&np->rcv_saddr)) in dccp_v6_connect()
939 saddr = &np->rcv_saddr; in dccp_v6_connect()
942 fl6.daddr = np->daddr; in dccp_v6_connect()
943 fl6.saddr = saddr ? *saddr : np->saddr; in dccp_v6_connect()
949 opt = rcu_dereference_protected(np->opt, sock_owned_by_user(sk)); in dccp_v6_connect()
960 np->rcv_saddr = *saddr; in dccp_v6_connect()
964 np->saddr = *saddr; in dccp_v6_connect()
980 dp->dccps_iss = secure_dccpv6_sequence_number(np->saddr.s6_addr32, in dccp_v6_connect()
981 np->daddr.s6_addr32, in dccp_v6_connect()