Lines Matching defs:activation
62 "specifies the location activation mode - valid values are:\n"
67 "specifies the activation condition. Conditions are of the form:\n"
171 nwam_loc_activation_to_flag(nwam_activation_mode_t activation)
173 switch (activation) {
304 uint64_t activation, actflag, walkfilter;
318 * activation.
324 if (nwam_value_get_uint64(activationval, &activation) != NWAM_SUCCESS) {
329 actflag = nwam_loc_activation_to_flag(activation);
447 uint64_t activation;
451 * destroyable by netadm only. These have system activation-mode.
456 err = nwam_value_get_uint64(actval, &activation);
461 if (activation == NWAM_ACTIVATION_MODE_SYSTEM) {
506 * location's activation as a condition, e.g. loc2 cannot specify
574 * Validates that the activation-mode is system for Automatic and NoNet
581 uint64_t activation;
583 if ((err = nwam_value_get_uint64(actval, &activation)) != NWAM_SUCCESS)
587 if (activation != NWAM_ACTIVATION_MODE_SYSTEM)
590 if (activation == NWAM_ACTIVATION_MODE_SYSTEM)
834 uint64_t activation;
843 * Make sure loc is internally consistent: if activation type is
853 if (nwam_value_get_uint64(activationval, &activation)
861 /* validate activation against the location first */
871 if (activation == NWAM_ACTIVATION_MODE_CONDITIONAL_ANY ||
872 activation == NWAM_ACTIVATION_MODE_CONDITIONAL_ALL) {
881 * of the activation conditions refer to this location?
966 /* If the activation-mode is system, change it to manual */
1016 * Determine if the location has manual activation-mode or not.
1023 uint64_t activation;
1030 err = nwam_value_get_uint64(actval, &activation);
1035 if (activation == NWAM_ACTIVATION_MODE_MANUAL)