Home
last modified time | relevance | path

Searched refs:nexthops (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/network/
Dnetworkd-nexthop.c33 set_remove(nexthop->link->nexthops, nexthop); in nexthop_free()
40 set_remove(nexthop->manager->nexthops, nexthop); in nexthop_free()
229 Set *nexthops; in nexthop_get() local
237 nexthops = link->nexthops; in nexthop_get()
242 nexthops = manager->nexthops; in nexthop_get()
245 nexthop = set_get(nexthops, in); in nexthop_get()
256 SET_FOREACH(nexthop, nexthops) { in nexthop_get()
285 r = set_ensure_put(&link->nexthops, &nexthop_hash_ops, nexthop); in nexthop_add()
297 r = set_ensure_put(&manager->nexthops, &nexthop_hash_ops, nexthop); in nexthop_add()
654 SET_FOREACH(nexthop, manager->nexthops) { in manager_mark_nexthops()
[all …]
Dnetworkd-json.c232 static int nexthops_build_json(Set *nexthops, JsonVariant **ret) { in nexthops_build_json() argument
240 if (set_isempty(nexthops)) { in nexthops_build_json()
245 elements = new(JsonVariant*, set_size(nexthops)); in nexthops_build_json()
249 SET_FOREACH(nexthop, nexthops) { in nexthops_build_json()
1318 r = nexthops_build_json(link->nexthops, &w); in link_build_json()
1393 r = nexthops_build_json(manager->nexthops, &w); in manager_build_json()
Dnetworkd-manager.h76 Set *nexthops; member
Dnetworkd-link.h115 Set *nexthops; member
Dnetworkd-manager.c580 m->nexthops = set_free(m->nexthops); in manager_free()
Dnetworkd-link.c210 link->nexthops = set_free(link->nexthops); in link_free()