Home
last modified time | relevance | path

Searched refs:activation_policy (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/network/
Dnetworkd-network.c265 … if (!IN_SET(network->activation_policy, _ACTIVATION_POLICY_INVALID, ACTIVATION_POLICY_BOUND)) in network_verify()
268 network->activation_policy = ACTIVATION_POLICY_BOUND; in network_verify()
269 } else if (network->activation_policy == ACTIVATION_POLICY_BOUND) { in network_verify()
272 network->activation_policy = ACTIVATION_POLICY_UP; in network_verify()
275 if (network->activation_policy == _ACTIVATION_POLICY_INVALID) in network_verify()
276 network->activation_policy = ACTIVATION_POLICY_UP; in network_verify()
278 if (network->activation_policy == ACTIVATION_POLICY_ALWAYS_UP) { in network_verify()
291 …if (IN_SET(network->activation_policy, ACTIVATION_POLICY_DOWN, ACTIVATION_POLICY_ALWAYS_DOWN, ACTI… in network_verify()
293 …(network->required_for_online == true && network->activation_policy == ACTIVATION_POLICY_ALWAYS_DO… in network_verify()
295 activation_policy_to_string(network->activation_policy)); in network_verify()
[all …]
Dnetworkd-network.h101 ActivationPolicy activation_policy; member
Dnetworkd-state-file.c537 activation_policy_to_string(link->network->activation_policy)); in link_save()
Dnetworkctl.c1553 … *setup_state = NULL, *operational_state = NULL, *online_state = NULL, *activation_policy = NULL; in link_status_one() local
2213 r = sd_network_link_get_activation_policy(info->ifindex, &activation_policy); in link_status_one()
2218 TABLE_STRING, activation_policy); in link_status_one()
Dnetworkd-link.c1707 if (link->activated && link->network->activation_policy == ACTIVATION_POLICY_ALWAYS_DOWN) { in link_admin_state_up()
1727 if (link->activated && link->network->activation_policy == ACTIVATION_POLICY_ALWAYS_UP) { in link_admin_state_down()
Dnetworkd-setlink.c1044 switch (link->network->activation_policy) { in link_request_to_activate()
Dnetworkd-json.c474 … activation_policy_to_string(network->activation_policy)))); in network_build_json()
Dnetworkd-network-gperf.gperf75 …licy, 0, offsetof(Network, activation_policy)