Home
last modified time | relevance | path

Searched refs:links_by_index (Results 1 – 19 of 19) sorted by relevance

/systemd-251/src/network/wait-online/
Dmanager.c158 HASHMAP_FOREACH(l, m->links_by_index) { in manager_configured()
210 l = hashmap_get(m->links_by_index, INT_TO_PTR(ifindex)); in manager_process_link()
313 HASHMAP_FOREACH(l, m->links_by_index) { in on_network_event()
407 hashmap_free_with_destructor(m->links_by_index, link_free); in manager_free()
Dlink.c35 r = hashmap_ensure_put(&m->links_by_index, NULL, INT_TO_PTR(ifindex), l); in link_new()
56 hashmap_remove(l->manager->links_by_index, INT_TO_PTR(l->ifindex)); in link_free()
Dmanager.h16 Hashmap *links_by_index; member
/systemd-251/src/network/
Dnetworkd-manager.c69 HASHMAP_FOREACH(link, m->links_by_index) { in manager_reset_all()
543 HASHMAP_FOREACH(link, m->links_by_index) in manager_free()
552 m->links_by_index = hashmap_free_with_destructor(m->links_by_index, link_unref); in manager_free()
618 HASHMAP_FOREACH(link, m->links_by_index) { in manager_start()
834 HASHMAP_FOREACH(link, m->links_by_index) { in manager_enumerate_nl80211_mlme()
Dnetworkd-manager.h50 Hashmap *links_by_index; member
Dnetworkd-speed-meter.c65 HASHMAP_FOREACH(link, manager->links_by_index) in speed_meter_handler()
Dnetworkd-manager-bus.c36 HASHMAP_FOREACH(link, manager->links_by_index) { in method_list_links()
220 HASHMAP_FOREACH(link, manager->links_by_index) { in bus_method_reload()
Dnetworkd-route-util.c84 HASHMAP_FOREACH(link, m->links_by_index) { in manager_find_uplink()
255 HASHMAP_FOREACH(link, manager->links_by_index) { in manager_address_is_reachable()
Dnetworkd-dhcp-prefix-delegation.c614 HASHMAP_FOREACH(link, uplink->manager->links_by_index) { in dhcp_pd_prefix_lost()
1016 HASHMAP_FOREACH(link, uplink->manager->links_by_index) { in dhcp4_pd_prefix_acquired()
1130 HASHMAP_FOREACH(link, uplink->manager->links_by_index) { in dhcp6_pd_prefix_acquired()
1230 HASHMAP_FOREACH(uplink, link->manager->links_by_index) { in dhcp_pd_find_uplink()
Dnetworkd-address-pool.c98 HASHMAP_FOREACH(l, p->manager->links_by_index) { in address_pool_prefix_is_taken()
Dnetworkd-link.c254 link = hashmap_get(m->links_by_index, INT_TO_PTR(ifindex)); in link_get_by_index()
776 HASHMAP_FOREACH(carrier, m->links_by_index) { in link_new_bound_by_list()
815 HASHMAP_FOREACH(carrier, m->links_by_index) { in link_new_bound_to_list()
943 assert_se(hashmap_remove(link->manager->links_by_index, INT_TO_PTR(link->ifindex)) == link); in link_drop()
2527 r = hashmap_ensure_put(&manager->links_by_index, NULL, INT_TO_PTR(link->ifindex), link); in link_new()
Dnetworkd-link-bus.c837 l = new0(char*, hashmap_size(m->links_by_index) + 1); in link_node_enumerator()
841 HASHMAP_FOREACH(link, m->links_by_index) { in link_node_enumerator()
Dnetworkd-json.c1361 elements = new(JsonVariant*, hashmap_size(manager->links_by_index)); in links_build_json()
1365 HASHMAP_FOREACH(link, manager->links_by_index) { in links_build_json()
Dnetworkd-state-file.c126 HASHMAP_FOREACH(link, m->links_by_index) { in manager_save()
Dnetworkd-nexthop.c671 HASHMAP_FOREACH(link, manager->links_by_index) { in manager_mark_nexthops()
Dnetworkd-routing-policy-rule.c656 HASHMAP_FOREACH(link, m->links_by_index) { in manager_mark_routing_policy_rules()
Dnetworkd-address.c613 HASHMAP_FOREACH(link, manager->links_by_index) { in manager_get_address()
Dnetworkd-route.c807 HASHMAP_FOREACH(link, manager->links_by_index) { in manager_mark_routes()
/systemd-251/src/network/netdev/
Dl2tp-tunnel.c348 HASHMAP_FOREACH(link, netdev->manager->links_by_index) { in l2tp_get_local_address()