Lines Matching refs:network
19 if (label->network) { in address_label_free()
21 hashmap_remove(label->network->address_labels_by_section, label->section); in address_label_free()
30 static int address_label_new_static(Network *network, const char *filename, unsigned section_line, … in address_label_new_static() argument
35 assert(network); in address_label_new_static()
44 label = hashmap_get(network->address_labels_by_section, n); in address_label_new_static()
55 .network = network, in address_label_new_static()
60 …r = hashmap_ensure_put(&network->address_labels_by_section, &config_section_hash_ops, label->secti… in address_label_new_static()
149 assert(link->network); in link_request_static_address_labels()
153 HASHMAP_FOREACH(label, link->network->address_labels_by_section) { in link_request_static_address_labels()
196 void network_drop_invalid_address_labels(Network *network) { in network_drop_invalid_address_labels() argument
199 assert(network); in network_drop_invalid_address_labels()
201 HASHMAP_FOREACH(label, network->address_labels_by_section) in network_drop_invalid_address_labels()
219 Network *network = userdata; in config_parse_address_label_prefix() local
230 r = address_label_new_static(network, filename, section_line, &n); in config_parse_address_label_prefix()
269 Network *network = userdata; in config_parse_address_label() local
279 r = address_label_new_static(network, filename, section_line, &n); in config_parse_address_label()