Searched refs:nh_obj (Results 1 – 1 of 1) sorted by relevance
4987 struct nh_notifier_single_info *nh_obj, int weight) in mlxsw_sp_nexthop_obj_init() argument4989 struct net_device *dev = nh_obj->dev; in mlxsw_sp_nexthop_obj_init()4995 switch (nh_obj->gw_family) { in mlxsw_sp_nexthop_obj_init()4997 memcpy(&nh->gw_addr, &nh_obj->ipv4, sizeof(nh_obj->ipv4)); in mlxsw_sp_nexthop_obj_init()5001 memcpy(&nh->gw_addr, &nh_obj->ipv6, sizeof(nh_obj->ipv6)); in mlxsw_sp_nexthop_obj_init()5016 if (nh_obj->is_reject) in mlxsw_sp_nexthop_obj_init()5082 struct nh_notifier_single_info *nh_obj; in mlxsw_sp_nexthop_obj_group_info_init() local5088 nh_obj = info->nh; in mlxsw_sp_nexthop_obj_group_info_init()5092 nh_obj = &info->nh_grp->nh_entries[i].nh; in mlxsw_sp_nexthop_obj_group_info_init()5096 nh_obj = &info->nh_res_table->nhs[i]; in mlxsw_sp_nexthop_obj_group_info_init()[all …]