Lines Matching refs:network
50 int route_new_static(Network *network, unsigned section, Route **ret) {
55 route = hashmap_get(network->routes_by_section,
70 route->network = network;
72 LIST_PREPEND(routes, network->static_routes, route);
76 hashmap_put(network->routes_by_section,
90 if (route->network) {
91 LIST_REMOVE(routes, route->network->static_routes, route);
94 hashmap_remove(route->network->routes_by_section,
550 Network *network = userdata;
567 r = route_new_static(network, section_line, &n);
595 Network *network = userdata;
606 r = route_new_static(network, section_line, &n);
635 Network *network = userdata;
648 r = route_new_static(network, section_line, &n);
715 Network *network = userdata;
725 r = route_new_static(network, section_line, &n);
750 Network *network = userdata;
760 r = route_new_static(network, section_line, &n);