Lines Matching refs:chain
223 /* base for chain jumps */
263 if (WARN(sp == 0, "RETURN on base chain")) {
293 if (WARN(chaininfo->distinguisher, "jump to non-chain\n")) {
520 /* check if all valid hooks have a chain */
544 /* beginning of a new chain
545 * if i == NF_BR_NUMHOOKS it must be a user defined chain
548 /* this checks if the previous chain has as many entries
561 if (i == NF_BR_NUMHOOKS) /* it's a user defined chain */
591 * entries is a jump to the beginning of a new chain.
599 /* we're only interested in chain starts */
717 * a base chain
800 static int check_chainloops(const struct ebt_entries *chain, struct ebt_cl_stack *cl_s,
803 int i, chain_nr = -1, pos = 0, nentries = chain->nentries, verdict;
804 const struct ebt_entry *e = (struct ebt_entry *)chain->data;
810 /* put back values of the time when this chain was called */
816 nentries = chain->nentries;
832 if (verdict >= 0) { /* jump to another chain */
855 /* this udc is accessible from the base chain for hooknr */
872 struct ebt_cl_stack *cl_s = NULL; /* used in the checking for chain loops */
896 i = 0; /* holds the expected nr. of entries for the chain */
897 j = 0; /* holds the up to now counted entries for the chain */
964 * - the nr of entries in each chain is right
966 * - all valid hooks have a corresponding chain
970 * beginning of a chain. This can only occur in chains that
1829 /* also count the base chain policies */