Home
last modified time | relevance | path

Searched refs:networks_by_name (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/network/generator/
Dnetwork-generator.c196 … r = hashmap_ensure_put(&context->networks_by_name, &string_hash_ops, network->ifname, network); in network_new()
208 return hashmap_get(context->networks_by_name, ifname); in network_get()
1049 if (hashmap_size(context->networks_by_name) <= 1) in context_merge_networks()
1052 HASHMAP_FOREACH(network, context->networks_by_name) { in context_merge_networks()
1069 assert_se(hashmap_remove(context->networks_by_name, "") == all); in context_merge_networks()
1078 hashmap_free_with_destructor(context->networks_by_name, network_free); in context_clear()
Dnetwork-generator.h96 Hashmap *networks_by_name; member
Dmain.c96 HASHMAP_FOREACH(network, context->networks_by_name) { in context_save()