Searched refs:old_nh (Results 1 – 1 of 1) sorted by relevance
/external/libnl/lib/route/ |
D | route_obj.c | 505 struct rtnl_nexthop *old_nh; in route_update() local 519 nl_list_for_each_entry(old_nh, &old_route->rt_nexthops, in route_update() 521 if (!rtnl_route_nh_compare(old_nh, new_nh, ~0, 0)) { in route_update() 523 rtnl_route_remove_nexthop(old_route, old_nh); in route_update() 527 old_nh, in route_update() 528 nl_addr2str(old_nh->rtnh_gateway, buf, in route_update() 531 rtnl_route_nh_free(old_nh); in route_update() 1013 struct rtnl_nexthop *old_nh = NULL; in rtnl_route_parse() local 1116 if (!old_nh && !(old_nh = rtnl_route_nh_alloc())) in rtnl_route_parse() 1119 rtnl_route_nh_set_ifindex(old_nh, nla_get_u32(tb[RTA_OIF])); in rtnl_route_parse() [all …]
|