Searched refs:nh_obj (Results 1 – 1 of 1) sorted by relevance
4764 struct nh_notifier_single_info *nh_obj, int weight) in mlxsw_sp_nexthop_obj_init() argument4766 struct net_device *dev = nh_obj->dev; in mlxsw_sp_nexthop_obj_init()4772 switch (nh_obj->gw_family) { in mlxsw_sp_nexthop_obj_init()4774 memcpy(&nh->gw_addr, &nh_obj->ipv4, sizeof(nh_obj->ipv4)); in mlxsw_sp_nexthop_obj_init()4778 memcpy(&nh->gw_addr, &nh_obj->ipv6, sizeof(nh_obj->ipv6)); in mlxsw_sp_nexthop_obj_init()4793 if (nh_obj->is_reject) in mlxsw_sp_nexthop_obj_init()4859 struct nh_notifier_single_info *nh_obj; in mlxsw_sp_nexthop_obj_group_info_init() local4865 nh_obj = info->nh; in mlxsw_sp_nexthop_obj_group_info_init()4869 nh_obj = &info->nh_grp->nh_entries[i].nh; in mlxsw_sp_nexthop_obj_group_info_init()4873 nh_obj = &info->nh_res_table->nhs[i]; in mlxsw_sp_nexthop_obj_group_info_init()[all …]