Lines Matching defs:rt_new
658 struct rtentry *rt_new = rt_alloc(rh_dst, rt_key(rt), rt_mask(rt));
659 if (rt_new == NULL) {
670 error = add_route_flags(rh_dst, rt_new, &rnd, op_flags, rc);
675 rt_print_buf(rt_new, buf, sizeof(buf));
680 rt_free_immediate(rt_new);
1327 struct rtentry *rt_new;
1340 rt_new = lookup_prefix_rt(rnh, rt, &rnd);
1342 if (rt_new == NULL) {
1356 if (rnd_orig->rnd_nhop == rt_new->rt_nhop) {
1361 error = change_route(rnh, rt_new, rnd_new, rc);
1364 rnd_orig->rnd_nhop = rt_new->rt_nhop;
1365 rnd_orig->rnd_weight = rt_new->rt_weight;