Lines Matching refs:ort
1832 nc_route(struct rt6 *ort, struct rt6 *nrt) in nc_route() argument
1841 desc_route(ort == NULL ? "adding" : "changing", nrt); in nc_route()
1843 if (ort == NULL) { in nc_route()
1844 ort = ipv6_findrt(nrt->iface->ctx, nrt, 0); in nc_route()
1845 if (ort && in nc_route()
1846 ((ort->flags & RTF_REJECT && nrt->flags & RTF_REJECT) || in nc_route()
1847 (ort->iface == nrt->iface && in nc_route()
1849 ort->metric == nrt->metric && in nc_route()
1851 IN6_ARE_ADDR_EQUAL(&ort->gate, &nrt->gate)))) in nc_route()
1859 if (ort && if_route6(RTM_DELETE, ort) == -1 && in nc_route()
1867 if (errno != EEXIST || ort == NULL) in nc_route()
1873 if (ort && if_route6(RTM_DELETE, ort) == -1 && errno != ESRCH) in nc_route()