Lines Matching defs:ro
163 ip6_output(struct mbuf *m, struct ip6_pktopts *opt, struct route *ro,
392 if (ro == NULL) {
393 ro = &iproute;
394 ro->ro_rt = NULL;
396 ro_pmtu = ro;
398 ro = &opt->ip6po_route;
399 dst = &ro->ro_dstsin6;
439 error = ip6_output_ipsec_send(tdb, m, ro,
460 rt = in6_selectroute(&ip6->ip6_dst, opt, ro,
483 route6_cache(ro, &ip6->ip6_dst, NULL, m->m_pkthdr.ph_rtableid);
638 if (ro == &iproute)
639 rtfree(ro->ro_rt);
640 ro = NULL;
705 error = if_output_tso(ifp, &m, sin6tosa(dst), ro->ro_rt,
759 (error = if_output_ml(ifp, &ml, sin6tosa(dst), ro->ro_rt)))
772 if (ro == &iproute)
773 rtfree(ro->ro_rt);
2783 ip6_output_ipsec_pmtu_update(struct tdb *tdb, struct route *ro,
2790 if (ro != NULL)
2791 rt = ro->ro_rt;
2816 if (ro != NULL && ro->ro_rt != NULL) {
2817 rtfree(ro->ro_rt);
2818 ro->ro_rt = rtalloc(&ro->ro_dstsa, RT_RESOLVE,
2828 ip6_output_ipsec_send(struct tdb *tdb, struct mbuf *m, struct route *ro,
2877 error = ip6_output_ipsec_pmtu_update(tdb, ro, &dst, ifidx,
2927 ip6_output_ipsec_pmtu_update(tdb, ro, &dst, ifidx, rtableid, 0);