Lines Matching defs:nh_obj
5112 struct nh_notifier_single_info *nh_obj, int weight)
5114 struct net_device *dev = nh_obj->dev;
5120 switch (nh_obj->gw_family) {
5122 memcpy(&nh->gw_addr, &nh_obj->ipv4, sizeof(nh_obj->ipv4));
5126 memcpy(&nh->gw_addr, &nh_obj->ipv6, sizeof(nh_obj->ipv6));
5135 nh->id = nh_obj->id;
5141 if (nh_obj->is_reject)
5213 struct nh_notifier_single_info *nh_obj;
5219 nh_obj = info->nh;
5223 nh_obj = &info->nh_grp->nh_entries[i].nh;
5227 nh_obj = &info->nh_res_table->nhs[i];
5234 err = mlxsw_sp_nexthop_obj_init(mlxsw_sp, nh_grp, nh, nh_obj,
5603 struct nh_notifier_single_info *nh_obj;
5624 nh_obj = &info->nh_res_bucket->new_nh;
5625 err = mlxsw_sp_nexthop_obj_init(mlxsw_sp, nh_grp, nh, nh_obj, 1);
5640 nh_obj = &info->nh_res_bucket->old_nh;
5641 mlxsw_sp_nexthop_obj_init(mlxsw_sp, nh_grp, nh, nh_obj, 1);