Lines Matching defs:ro
444 struct route ro;
455 ro.ro_rt = NULL;
515 switch(in_ouraddr(m, ifp, &ro, flags)) {
617 ip_forward(m, ifp, &ro, flags);
619 rtfree(ro.ro_rt);
625 rtfree(ro.ro_rt);
839 in_ouraddr(struct mbuf *m, struct ifnet *ifp, struct route *ro, int flags)
859 rt = route_mpath(ro, &ip->ip_dst, &ip->ip_src, m->m_pkthdr.ph_rtableid);
1556 ip_forward(struct mbuf *m, struct ifnet *ifp, struct route *ro, int flags)
1582 if (ro == NULL) {
1583 ro = &iproute;
1584 ro->ro_rt = NULL;
1586 rt = route_mpath(ro, &ip->ip_dst, &ip->ip_src, rtableid);
1633 error = ip_output(m, NULL, ro, flags | IP_FORWARDING, NULL, NULL, 0);
1634 rt = ro->ro_rt;
1711 if (ro == &iproute)
1712 rtfree(ro->ro_rt);