Home
last modified time | relevance | path

Searched refs:new_nh (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/net/ipv4/
H A Dnexthop.c316 __nh_notifier_single_info_init(&info->nh_res_bucket->new_nh, newi); in nh_notifier_res_bucket_info_init()
380 struct nexthop *new_nh, in call_nexthop_res_bucket_notifiers()
384 struct nh_info *newi = nh_res_dereference(new_nh->nh_info); in call_nexthop_res_bucket_notifiers()
2303 static int insert_nexthop(struct net *net, struct nexthop *new_nh, in insert_nexthop() argument
2310 u32 new_id = new_nh->id; in insert_nexthop()
2330 rc = replace_nexthop(net, nh, new_nh, cfg, extack); in insert_nexthop()
2332 new_nh = nh; /* send notification with old nh */ in insert_nexthop()
2348 if (new_nh->is_group) { in insert_nexthop()
2349 struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp); in insert_nexthop()
2373 rb_link_node_rcu(&new_nh in insert_nexthop()
377 call_nexthop_res_bucket_notifiers(struct net *net, u32 nhg_id, u16 bucket_index, bool force, struct nexthop *old_nh, struct nexthop *new_nh, struct netlink_ext_ack *extack) call_nexthop_res_bucket_notifiers() argument
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dnexthop.c1146 static int insert_nexthop(struct net *net, struct nexthop *new_nh, in insert_nexthop() argument
1153 u32 new_id = new_nh->id; in insert_nexthop()
1173 rc = replace_nexthop(net, nh, new_nh, extack); in insert_nexthop()
1175 new_nh = nh; /* send notification with old nh */ in insert_nexthop()
1191 rb_link_node_rcu(&new_nh->rb_node, parent, pp); in insert_nexthop()
1192 rb_insert_color(&new_nh->rb_node, root); in insert_nexthop()
1197 nexthop_notify(RTM_NEWNEXTHOP, new_nh, &cfg->nlinfo); in insert_nexthop()
1200 nexthop_replace_notify(net, new_nh, &cfg->nlinfo); in insert_nexthop()
/kernel/linux/linux-6.6/include/net/
H A Dnexthop.h198 struct nh_notifier_single_info new_nh; member
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c4936 nh = &info->nh_res_bucket->new_nh; in mlxsw_sp_nexthop_obj_validate()
5454 nh_obj = &info->nh_res_bucket->new_nh; in mlxsw_sp_nexthop_obj_bucket_replace()

Completed in 24 milliseconds