Home | History | Annotate | Download | only in libiptc

Lines Matching refs:user

5  * Chains go INPUT, FORWARD, OUTPUT then user chains.
6 * Each user chain starts with an ERROR node.
7 * Every chain ends with an unconditional jump: a RETURN for user chains,
143 unsigned int num_chains; /* number of user defined chains */
191 /* notify us that the ruleset has been modified by the user */
346 /* Check for empty array, e.g. no user defined chains */
555 debug("Number of user defined chains:%d bucket_sz:%d array_sz:%d\n",
651 /* Is the given chain builtin (1) or user-defined (0) */
767 /* Initial/special case, no user defined chains */
873 /* sort only user defined chains */
911 if (iptcc_is_builtin(c)) /* Only user defined chains are sorted*/
961 if (strcmp(GET_TARGET(e)->u.user.name, ERROR_TARGET) == 0) {
970 h->num_chains++; /* New user defined chain */
1010 if (!strcmp(GET_TARGET(e)->u.user.name, STANDARD_TARGET)) {
1034 DEBUGP_C("module, target=%s\n", GET_TARGET(e)->u.user.name);
1126 memset(t->target.u.user.name, 0, FUNCTION_MAXNAMELEN);
1127 strcpy(t->target.u.user.name, STANDARD_TARGET);
1151 /* only user-defined chains have heaer */
1157 strcpy(head->name.t.u.user.name, ERROR_TARGET);
1177 strcpy(foot->target.target.u.user.name, STANDARD_TARGET);
1266 error->target.t.u.user.target_size =
1268 strcpy((char *)&error->target.t.u.user.name, ERROR_TARGET);
1410 printf("Match name: `%s'\n", m->u.user.name);
1618 return GET_TARGET(e)->u.user.name;
1680 memset(t->target.u.user.name, 0, FUNCTION_MAXNAMELEN);
1681 strcpy(t->target.u.user.name, STANDARD_TARGET);
1697 if (strcmp(t->u.user.name, "") == 0) {
1702 else if (strcmp(t->u.user.name, LABEL_ACCEPT) == 0)
1704 else if (strcmp(t->u.user.name, LABEL_DROP) == 0)
1706 else if (strcmp(t->u.user.name, LABEL_QUEUE) == 0)
1708 else if (strcmp(t->u.user.name, LABEL_RETURN) == 0)
1710 else if (TC_BUILTIN(t->u.user.name, handle)) {
1717 DEBUGP("trying to find chain `%s': ", t->u.user.name);
1719 c = iptcc_find_label(t->u.user.name, handle);
1732 memset(t->u.user.name + strlen(t->u.user.name),
1734 FUNCTION_MAXNAMELEN - 1 - strlen(t->u.user.name));
1904 if (strcmp(a->u.user.name, b->u.user.name) != 0)
1939 if (strcmp(ta->u.user.name, tb->u.user.name) != 0)
2264 handle->num_chains++; /* New user defined chain */
2349 handle->num_chains--; /* One user defined chain deleted */