Lines Matching refs:np
276 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_bind() local
353 np->saddr = addr->l2tp_addr; in l2tp_ip6_bind()
436 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_getname() local
448 if (np->sndflow) in l2tp_ip6_getname()
449 lsa->l2tp_flowinfo = np->flow_label; in l2tp_ip6_getname()
452 lsa->l2tp_addr = np->saddr; in l2tp_ip6_getname()
507 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_sendmsg() local
547 if (np->sndflow) { in l2tp_ip6_sendmsg()
573 fl6.flowlabel = np->flow_label; in l2tp_ip6_sendmsg()
600 opt = txopt_get(np); in l2tp_ip6_sendmsg()
613 if (ipv6_addr_any(&fl6.saddr) && !ipv6_addr_any(&np->saddr)) in l2tp_ip6_sendmsg()
614 fl6.saddr = np->saddr; in l2tp_ip6_sendmsg()
619 fl6.flowi6_oif = np->mcast_oif; in l2tp_ip6_sendmsg()
621 fl6.flowi6_oif = np->ucast_oif; in l2tp_ip6_sendmsg()
626 ipc6.tclass = np->tclass; in l2tp_ip6_sendmsg()
637 ipc6.hlimit = ip6_sk_dst_hoplimit(np, &fl6, dst); in l2tp_ip6_sendmsg()
640 ipc6.dontfrag = np->dontfrag; in l2tp_ip6_sendmsg()
677 struct ipv6_pinfo *np = inet6_sk(sk); in l2tp_ip6_recvmsg() local
718 if (np->rxopt.all) in l2tp_ip6_recvmsg()