Lines Matching defs:optp
298 struct ip6_pktopts opt, *optp = 0;
312 optp = &opt;
314 optp = in6p->in6p_outputopts;
353 if (optp && (pi = optp->ip6po_pktinfo) && pi->ipi6_ifindex) {
380 if ((in6a = in6_selectsrc(dstsock, optp,
442 error = ip6_output(m, optp, &in6p->in6p_route, 0,
458 if (optp == &opt && optp->ip6po_rthdr && optp->ip6po_route.ro_rt) {
459 rtfree(optp->ip6po_route.ro_rt);
460 optp->ip6po_route.ro_rt = NULL;
463 if (optp == &opt)
464 ip6_clearpktopts(optp, 0, -1);