Home
last modified time | relevance | path

Searched refs:new_nh (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/net/ipv4/
Dnexthop.c315 __nh_notifier_single_info_init(&info->nh_res_bucket->new_nh, newi); in nh_notifier_res_bucket_info_init()
379 struct nexthop *new_nh, in call_nexthop_res_bucket_notifiers() argument
383 struct nh_info *newi = nh_res_dereference(new_nh->nh_info); in call_nexthop_res_bucket_notifiers()
2260 static int insert_nexthop(struct net *net, struct nexthop *new_nh, in insert_nexthop() argument
2267 u32 new_id = new_nh->id; in insert_nexthop()
2287 rc = replace_nexthop(net, nh, new_nh, cfg, extack); in insert_nexthop()
2289 new_nh = nh; /* send notification with old nh */ in insert_nexthop()
2305 if (new_nh->is_group) { in insert_nexthop()
2306 struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp); in insert_nexthop()
2330 rb_link_node_rcu(&new_nh->rb_node, parent, pp); in insert_nexthop()
[all …]
/Linux-v5.15/include/net/
Dnexthop.h198 struct nh_notifier_single_info new_nh; member
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c4619 nh = &info->nh_res_bucket->new_nh; in mlxsw_sp_nexthop_obj_validate()
5133 nh_obj = &info->nh_res_bucket->new_nh; in mlxsw_sp_nexthop_obj_bucket_replace()