Searched refs:nh_obj (Results 1 – 1 of 1) sorted by relevance
4988 struct nh_notifier_single_info *nh_obj, int weight) in mlxsw_sp_nexthop_obj_init() argument4990 struct net_device *dev = nh_obj->dev; in mlxsw_sp_nexthop_obj_init()4996 switch (nh_obj->gw_family) { in mlxsw_sp_nexthop_obj_init()4998 memcpy(&nh->gw_addr, &nh_obj->ipv4, sizeof(nh_obj->ipv4)); in mlxsw_sp_nexthop_obj_init()5002 memcpy(&nh->gw_addr, &nh_obj->ipv6, sizeof(nh_obj->ipv6)); in mlxsw_sp_nexthop_obj_init()5017 if (nh_obj->is_reject) in mlxsw_sp_nexthop_obj_init()5083 struct nh_notifier_single_info *nh_obj; in mlxsw_sp_nexthop_obj_group_info_init() local5089 nh_obj = info->nh; in mlxsw_sp_nexthop_obj_group_info_init()5093 nh_obj = &info->nh_grp->nh_entries[i].nh; in mlxsw_sp_nexthop_obj_group_info_init()5097 nh_obj = &info->nh_res_table->nhs[i]; in mlxsw_sp_nexthop_obj_group_info_init()[all …]