Searched refs:old_nh (Results 1 – 1 of 1) sorted by relevance
917 struct rtnl_nexthop *old_nh = NULL; in rtnl_route_parse() local1016 if (!old_nh && !(old_nh = rtnl_route_nh_alloc())) in rtnl_route_parse()1019 rtnl_route_nh_set_ifindex(old_nh, nla_get_u32(tb[RTA_OIF])); in rtnl_route_parse()1023 if (!old_nh && !(old_nh = rtnl_route_nh_alloc())) in rtnl_route_parse()1029 rtnl_route_nh_set_gateway(old_nh, addr); in rtnl_route_parse()1034 if (!old_nh && !(old_nh = rtnl_route_nh_alloc())) in rtnl_route_parse()1037 rtnl_route_nh_set_realms(old_nh, nla_get_u32(tb[RTA_FLOW])); in rtnl_route_parse()1040 if (old_nh) { in rtnl_route_parse()1045 rtnl_route_add_nexthop(route, old_nh); in rtnl_route_parse()1057 if (rtnl_route_nh_compare(old_nh, first, in rtnl_route_parse()[all …]