Searched refs:activation_policy (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/network/ |
D | networkd-network.c | 265 … 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 …]
|
D | networkd-network.h | 101 ActivationPolicy activation_policy; member
|
D | networkd-state-file.c | 537 activation_policy_to_string(link->network->activation_policy)); in link_save()
|
D | networkctl.c | 1553 … *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()
|
D | networkd-link.c | 1707 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()
|
D | networkd-setlink.c | 1044 switch (link->network->activation_policy) { in link_request_to_activate()
|
D | networkd-json.c | 474 … activation_policy_to_string(network->activation_policy)))); in network_build_json()
|
D | networkd-network-gperf.gperf | 75 …licy, 0, offsetof(Network, activation_policy)
|