Lines Matching refs:nexthop_id
146 siphash24_compress(&route->nexthop_id, sizeof(route->nexthop_id), state); in route_hash_func()
235 r = CMP(a->nexthop_id, b->nexthop_id); in route_compare_func()
262 return route->nexthop_id > 0 || !ordered_set_isempty(route->multipath_routes); in route_needs_convert()
452 if (route->nexthop_id > 0) { in route_convert()
456 r = manager_get_nexthop_by_id(manager, route->nexthop_id, &nh); in route_convert()
605 route->nexthop_id, route->priority, strna(flags)); in log_route_debug()
616 if (in_addr_is_set(route->gw_family, &route->gw) && route->nexthop_id == 0) { in route_set_netlink_message()
683 route->nexthop_id == 0 && in route_set_netlink_message()
692 if (route->nexthop_id > 0) { in route_set_netlink_message()
693 r = sd_netlink_message_append_u32(req, RTA_NH_ID, route->nexthop_id); in route_set_netlink_message()
748 if (route->family == AF_INET && route->nexthop_id > 0 && route->type == RTN_BLACKHOLE) in route_remove()
1238 assert(route->nexthop_id == 0); in route_configure()
1261 if (route->nexthop_id > 0) { in route_is_ready_to_configure()
1265 if (manager_get_nexthop_by_id(link->manager, route->nexthop_id, &nh) < 0) in route_is_ready_to_configure()
1799 r = sd_netlink_message_read_u32(message, RTA_NH_ID, &tmp->nexthop_id); in manager_rtnl_process_route()
2247 n->nexthop_id = 0; in config_parse_route_nexthop()
2262 n->nexthop_id = id; in config_parse_route_nexthop()
2834 route->nexthop_id == 0) in route_section_verify()
2878 if (route->nexthop_id > 0 && in route_section_verify()