• Home
  • Raw
  • Download

Lines Matching refs:np

118 	struct ipv6_pinfo *np;  in inet6_create()  local
212 inet_sk(sk)->pinet6 = np = inet6_sk_generic(sk); in inet6_create()
213 np->hop_limit = -1; in inet6_create()
214 np->mcast_hops = IPV6_DEFAULT_MCASTHOPS; in inet6_create()
215 np->mc_loop = 1; in inet6_create()
216 np->mc_all = 1; in inet6_create()
217 np->pmtudisc = IPV6_PMTUDISC_WANT; in inet6_create()
218 np->repflow = net->ipv6.sysctl.flowlabel_reflect & FLOWLABEL_REFLECT_ESTABLISHED; in inet6_create()
286 struct ipv6_pinfo *np = inet6_sk(sk); in __inet6_bind() local
403 np->saddr = addr->sin6_addr; in __inet6_bind()
485 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_destroy_sock() local
491 skb = xchg(&np->pktoptions, NULL); in inet6_destroy_sock()
494 skb = xchg(&np->rxpmtu, NULL); in inet6_destroy_sock()
502 opt = xchg((__force struct ipv6_txoptions **)&np->opt, NULL); in inet6_destroy_sock()
526 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_getname() local
539 if (np->sndflow) in inet6_getname()
540 sin->sin6_flowinfo = np->flow_label; in inet6_getname()
543 sin->sin6_addr = np->saddr; in inet6_getname()
756 struct ipv6_pinfo *np = inet6_sk(sk); in inet6_sk_rebuild_header() local
759 dst = __sk_dst_check(sk, np->dst_cookie); in inet6_sk_rebuild_header()
769 fl6.saddr = np->saddr; in inet6_sk_rebuild_header()
770 fl6.flowlabel = np->flow_label; in inet6_sk_rebuild_header()
779 final_p = fl6_update_dst(&fl6, rcu_dereference(np->opt), in inet6_sk_rebuild_header()
800 const struct ipv6_pinfo *np = inet6_sk(sk); in ipv6_opt_accepted() local
802 if (np->rxopt.all) { in ipv6_opt_accepted()
804 (np->rxopt.bits.hopopts || np->rxopt.bits.ohopopts)) || in ipv6_opt_accepted()
806 np->rxopt.bits.rxflow) || in ipv6_opt_accepted()
807 (opt->srcrt && (np->rxopt.bits.srcrt || in ipv6_opt_accepted()
808 np->rxopt.bits.osrcrt)) || in ipv6_opt_accepted()
810 (np->rxopt.bits.dstopts || np->rxopt.bits.odstopts))) in ipv6_opt_accepted()