Lines Matching refs:rt_new
659 struct rtentry *rt_new = rt_alloc(rh_dst, rt_key(rt), rt_mask(rt)); in rib_copy_route() local
660 if (rt_new == NULL) { in rib_copy_route()
671 error = add_route_flags(rh_dst, rt_new, &rnd, op_flags, rc); in rib_copy_route()
676 rt_print_buf(rt_new, buf, sizeof(buf)); in rib_copy_route()
681 rt_free_immediate(rt_new); in rib_copy_route()
1328 struct rtentry *rt_new; in change_route_conditional() local
1341 rt_new = lookup_prefix_rt(rnh, rt, &rnd); in change_route_conditional()
1343 if (rt_new == NULL) { in change_route_conditional()
1357 if (rnd_orig->rnd_nhop == rt_new->rt_nhop) { in change_route_conditional()
1362 error = change_route(rnh, rt_new, rnd_new, rc); in change_route_conditional()
1365 rnd_orig->rnd_nhop = rt_new->rt_nhop; in change_route_conditional()
1366 rnd_orig->rnd_weight = rt_new->rt_weight; in change_route_conditional()