Home
last modified time | relevance | path

Searched refs:hooknum (Results 1 – 1 of 1) sorted by relevance

/external/iptables/libiptc/
Dlibiptc.c118 unsigned int hooknum; /* hook number+1 if builtin */ member
163 static struct chain_head *iptcc_alloc_chain_head(const char *name, int hooknum) in iptcc_alloc_chain_head() argument
171 c->hooknum = hooknum; in iptcc_alloc_chain_head()
652 return (c->hooknum ? 1 : 0); in iptcc_is_builtin()
872 if (!c->hooknum) { in iptc_insert_chain()
874 if (!tmp->hooknum && strcmp(c->name, tmp->name) <= 0) { in iptc_insert_chain()
983 c->hooknum = builtin; in cache_add_entry()
1161 repl->hook_entry[c->hooknum-1] = c->head_offset; in iptcc_compile_chain()
1162 repl->underflow[c->hooknum-1] = c->foot_offset; in iptcc_compile_chain()