Searched refs:links_by_index (Results 1 – 19 of 19) sorted by relevance
/systemd-251/src/network/wait-online/ |
D | manager.c | 158 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()
|
D | link.c | 35 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()
|
D | manager.h | 16 Hashmap *links_by_index; member
|
/systemd-251/src/network/ |
D | networkd-manager.c | 69 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()
|
D | networkd-manager.h | 50 Hashmap *links_by_index; member
|
D | networkd-speed-meter.c | 65 HASHMAP_FOREACH(link, manager->links_by_index) in speed_meter_handler()
|
D | networkd-manager-bus.c | 36 HASHMAP_FOREACH(link, manager->links_by_index) { in method_list_links() 220 HASHMAP_FOREACH(link, manager->links_by_index) { in bus_method_reload()
|
D | networkd-route-util.c | 84 HASHMAP_FOREACH(link, m->links_by_index) { in manager_find_uplink() 255 HASHMAP_FOREACH(link, manager->links_by_index) { in manager_address_is_reachable()
|
D | networkd-dhcp-prefix-delegation.c | 614 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()
|
D | networkd-address-pool.c | 98 HASHMAP_FOREACH(l, p->manager->links_by_index) { in address_pool_prefix_is_taken()
|
D | networkd-link.c | 254 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()
|
D | networkd-link-bus.c | 837 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()
|
D | networkd-json.c | 1361 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()
|
D | networkd-state-file.c | 126 HASHMAP_FOREACH(link, m->links_by_index) { in manager_save()
|
D | networkd-nexthop.c | 671 HASHMAP_FOREACH(link, manager->links_by_index) { in manager_mark_nexthops()
|
D | networkd-routing-policy-rule.c | 656 HASHMAP_FOREACH(link, m->links_by_index) { in manager_mark_routing_policy_rules()
|
D | networkd-address.c | 613 HASHMAP_FOREACH(link, manager->links_by_index) { in manager_get_address()
|
D | networkd-route.c | 807 HASHMAP_FOREACH(link, manager->links_by_index) { in manager_mark_routes()
|
/systemd-251/src/network/netdev/ |
D | l2tp-tunnel.c | 348 HASHMAP_FOREACH(link, netdev->manager->links_by_index) { in l2tp_get_local_address()
|