Lines Matching refs:nopt
1402 struct ipv6_txoptions *nopt, *opt = ipc6->opt;
1416 nopt = v6_cork->opt = kzalloc(sizeof(*opt), sk->sk_allocation);
1417 if (unlikely(!nopt))
1420 nopt->tot_len = sizeof(*opt);
1421 nopt->opt_flen = opt->opt_flen;
1422 nopt->opt_nflen = opt->opt_nflen;
1424 nopt->dst0opt = ip6_opt_dup(opt->dst0opt, sk->sk_allocation);
1425 if (opt->dst0opt && !nopt->dst0opt)
1428 nopt->dst1opt = ip6_opt_dup(opt->dst1opt, sk->sk_allocation);
1429 if (opt->dst1opt && !nopt->dst1opt)
1432 nopt->hopopt = ip6_opt_dup(opt->hopopt, sk->sk_allocation);
1433 if (opt->hopopt && !nopt->hopopt)
1436 nopt->srcrt = ip6_rthdr_dup(opt->srcrt, sk->sk_allocation);
1437 if (opt->srcrt && !nopt->srcrt)