Lines Matching defs:actions

1164 	/* two different spec'd actions */
1357 * Marks all the actions and their constituent elements in conf
1374 * differences the configuration in new against old marking the actions
1390 /* check the new actions against the old */
1413 * mark actions, and their contents, in old but not new that were
2096 * causes all items marked as requiring change in actions and old_actions
2102 ipqos_conf_action_t *actions,
2113 res = add_items(actions, B_FALSE);
2120 res = modify_items(actions);
2137 ipqos_conf_action_t *actions,
2147 * we need to create ipgpc action before any others as some actions
2151 act = actionexist(IPGPC_CLASSIFY, actions);
2163 * loop though action list and add any actions marked as
2167 for (act = actions; act; act = act->next) {
2184 ipqos_conf_action_t *actions,
2188 ipqos_conf_action_t *act = actions;
2194 actions->name, rem_undo);
2219 for (pact = act->params->actions; pact; pact = pact->next) {
2429 * For each of the actions in actions remove the action if marked as
2435 ipqos_conf_action_t *actions,
2445 * loop through actions removing any actions, or action contents
2448 for (act = actions; act; act = act->next) {
2460 * for deletion. If the action is marked for deletion any actions referencing
2495 /* modify parent actions first */
2580 * for each of the actions in parameter actions apply any objects marked as
2585 modify_items(ipqos_conf_action_t *actions)
2596 /* loop through actions in parameter actions */
2598 for (act = actions; act; act = act->next) {
2600 /* skip unchanged actions */
2659 * For each of the objects of each of the actions in nactions that are
2680 /* loop throught new actions */
2741 * Go through the old actions modifying perm filters and classes
2779 * causes all changes marked as being done in actions and old_actions
2785 ipqos_conf_action_t *actions,
2802 res = undo_modifys(old_actions, actions);
2809 res = remove_items(actions, B_TRUE);
6207 * also, if it's one of continue or drop virtual actions
6252 res = add_aref(&params->actions, nm, action);
6263 if (params->actions) {
6264 free_arefs(params->actions);
6265 params->actions = NULL;
6641 * free all the memory used in all the actions in actions list.
6645 ipqos_conf_action_t *actions)
6648 ipqos_conf_action_t *act = actions;
6657 free_arefs(act->params->actions);
6709 * Checks whether there is an action called action_name in actions list.
6716 ipqos_conf_action_t *actions)
6721 while (actions) {
6722 if (strcmp(action_name, actions->name) == 0) {
6725 actions = actions->next;
6728 return (actions);
8118 * check that each of the actions in actions is uniquely named. If one isn't
8123 actions_unique(ipqos_conf_action_t *actions, char **name)
8128 while (actions) {
8129 if (actionexist(actions->name, actions->next)) {
8130 *name = actions->name;
8133 actions = actions->next;
8163 * recurse down the child actions of this action through the
8164 * classes next action and parameter actions.
8167 for (aref = action->params->actions; aref != NULL; aref = aref->next) {
8169 /* skip virtual actions - they can't be in a cycle */
8200 * checks that the configuration in actions is a valid whole, that
8201 * all actions are unique, all filters and classes are unique within
8202 * their action, that classes referenced by filters exist and actions
8204 * actions but ipgpc and that no actions are involved in cycles. As
8205 * a consequence of checking that the actions exist two way pointers
8206 * are created between the dependee and dependant actions.
8217 ipqos_conf_action_t *actions,
8231 /* check actions are unique */
8233 if (userconf && actions_unique(actions, &name) != IPQOS_CONF_SUCCESS) {
8239 for (act = actions; act; act = act->next) {
8294 * virtual actions always exist so don't check for next
8306 actionexist(cls->alist->name, actions)) == NULL) {
8324 /* check actions exist for action type parameters */
8327 for (aref = params->actions; aref; aref = aref->next) {
8339 aref->action = actionexist(aref->name, actions);
8365 /* check for cycles in config and orphaned actions other than ipgpc */
8367 for (act = actions; act; act = act->next) {
8383 "referenced by any other actions.\n"), act->name);
8448 * read the set of actions definitions from the stream cfp and store
8485 /* loop reading actions adding to conf till EOF */
8511 /* check that there is one or more actions and that one is ipgpc */
8562 * iterate through all loaded modules retrieving their list of actions
8568 /* skip actions of modules that we can't open types file of */
8804 * loop throught nvlist elements and for those that are actions create
8820 ret = add_aref(&params->actions, nvpair_name(nvp), act);
8837 free_arefs(params->actions);
8838 params->actions = NULL;
9014 * remove all the actions within the kernel. If there is a failure
9046 * iterate through all the modules listing their actions and
9050 IPQOSCDBG1(APPLY, "Getting actions of module %s.\n",
9238 ipqos_conf_action_t *actions)
9247 for (act = actions; act != NULL; act = act->next) {
9254 * to end of actions filters.
9357 * loop through actions in list writing ipqosconf originated
9386 * actions read to IPQOS_CONF_INIT_PATH.
9524 * check there are no same named actions in both config file and the
9527 * action before we deleted the old one and because actions
9554 /* create links between actions for use with deletions etc.. */
9819 /* print each of the actions in the kernel config to stdout */
9865 /* print each of the actions in the kernel config to stdout */