Lines Matching defs:module
473 * add module version
566 * add module version
665 * add module version
748 * add module version
805 * add module version
950 * add module version
1072 * add module version
1184 * difference params set old against params set new of module module_name. It
1207 /* diff module specific params */
1222 * differences filter old against filter new of module module_name. It marks
1247 /* compare module specific params */
1459 res = diffparams(old->params, new->params, old->module);
1688 res = difffilter(tmpf, flt, new->module);
1735 * for module name to interpret the element types. It sets pdiff to either
2270 IPQOSCDBG2(APPLY, "add_action: action: %s, module: %s\n", act->name,
2271 act->module);
2286 * add module version
2310 res = ipp_action_create(act->module, act->name, nvl, 0);
2312 IPQOSCDBG2(APPLY, "Create action %s, module %s failed\n",
2313 act->name, act->module);
3163 char *module,
3186 tfp = validmod(module, &openerr);
3221 ret = readtype(tfp, module, param, &type, &enum_nvs, dfltst,
3422 module);
3472 char *module,
3499 /* print module specific parameters */
3500 res = printnvlist(fp, module, params->nvlist, printall, NULL,
3608 char *module,
3672 /* print other module specific parameters parameters */
3674 res = printnvlist(fp, module, (*filter)->nvlist, printall, *filter,
3768 /* print opening clause, module and name */
3774 quote_ws_string(action->module));
3781 res = printparams(fp, action->module, action->params, printall,
3809 res = printfilter(fp, action->module, &flt, printall,
3984 char *module)
3991 ret = malloc(strlen(module) + strlen(".") + strlen(name) + 1);
3997 (void) strcpy(ret, module);
5025 ipqos_msg(MT_ERROR, gettext("Types file for module %s is "
5037 * with name module.${MAP_NAME}. The maps are contained in the modules config
5051 char *module,
5073 res = readtype(tfp, module, map_name, &type, &enum_nvs,
5101 tmpname = prepend_module_name(map_name, module);
5136 gettext("Types file for module %s is "
5137 "corrupt.\n"), module);
5172 char *module)
5221 *enum_nvs = read_enum_nvs(token, module);
5231 gettext("Types file for module %s is corrupt.\n"), module);
5454 gettext("Types file for module %s is "
5569 * read upto and including module version line.
5603 gettext("Types file for module %s is corrupt.\n"),
5660 gettext("Types file for module %s is corrupt.\n"),
5692 * for the place, or be present in the module types file ref'd by tfp.
5791 * get full module prefix parameter name
6825 * Opens a stream to the types file for module module_name (assuming
6828 * RETURNS: NULL on error, else stream ptr to module types file.
7754 ipqos_msg(MT_ERROR, gettext("Types file for module %s is "
7765 ipqos_msg(MT_ERROR, gettext("Types file for module %s is "
7832 /* loop till read both action name and module */
7848 gettext("Missing action name/ module "
7855 /* store name and module in action structure */
7881 /* read module name */
7886 * check that module has a type file and get
7895 "module name line %u.\n"),
7905 * move module name to action struct
7907 (void) strlcpy((*action)->module, strval,
7927 if ((strcmp((*action)->module, IPGPC_NAME) == 0) &&
7937 res = read_perm_items(0, tfp, (*action)->module,
7945 res = read_perm_items(1, tfp, (*action)->module,
7955 (*action)->module)) == -1)
7959 ipqos_msg(MT_ERROR, gettext("Types file for module %s is "
7960 "incompatible.\n"), (*action)->module);
7966 * get module version
7969 (*action)->module)) == -1)
8001 res = readfilter(cfp, tfp, (*action)->module, &filter,
8068 res = readclass(cfp, (*action)->module, &class,
8087 res = readparams(cfp, tfp, (*action)->module,
8579 * exist we assume this is an unknown module and
8580 * ignore this module, otherwise error.
8593 /* get action list for this module */
8601 /* read config of each action of this module */
8614 /* copy module name into action struct */
8616 (void) strlcpy(ai_prm.action->module, modnames[x],
8728 ret = parse_kparams(action->module, action->params,
8747 char *module,
8766 /* get stream to module types file */
8768 tfp = validmod(module, &openerr);
8811 ret = readtype(tfp, module, param, &type, &tmp, dfltst,
9050 IPQOSCDBG1(APPLY, "Getting actions of module %s.\n",
9525 * the kernel that are for a different module. The application
9528 * in the kernel are indexed solely on their name (their module
9536 /* different module */
9537 if (strcmp(act->module, oact->module) != 0) {
9542 "different module.\n"),
9545 /* same module - stop search */