Lines Matching refs:new_nh
316 __nh_notifier_single_info_init(&info->nh_res_bucket->new_nh, newi);
380 struct nexthop *new_nh,
384 struct nh_info *newi = nh_res_dereference(new_nh->nh_info);
2303 static int insert_nexthop(struct net *net, struct nexthop *new_nh,
2310 u32 new_id = new_nh->id;
2330 rc = replace_nexthop(net, nh, new_nh, cfg, extack);
2332 new_nh = nh; /* send notification with old nh */
2348 if (new_nh->is_group) {
2349 struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp);
2373 rb_link_node_rcu(&new_nh->rb_node, parent, pp);
2374 rb_insert_color(&new_nh->rb_node, root);
2379 rc = call_nexthop_notifiers(net, NEXTHOP_EVENT_REPLACE, new_nh, extack);
2381 rb_erase(&new_nh->rb_node, &net->nexthop.rb_root);
2386 nexthop_notify(RTM_NEWNEXTHOP, new_nh, &cfg->nlinfo);
2389 nexthop_replace_notify(net, new_nh, &cfg->nlinfo);