• Home
  • Raw
  • Download

Lines Matching refs:chain_head

70 struct chain_head;
94 struct chain_head *chain;
101 struct chain_head *jump; /* jump target, if IPTCC_R_JUMP */
107 struct chain_head struct
133 struct chain_head *chain_iterator_cur; argument
138 struct chain_head **chain_index; /* array for fast chain list access*/
156 static struct chain_head *iptcc_alloc_chain_head(const char *name, int hooknum) in iptcc_alloc_chain_head()
158 struct chain_head *c = malloc(sizeof(*c)); in iptcc_alloc_chain_head()
171 static struct rule_head *iptcc_alloc_rule(struct chain_head *c, unsigned int size) in iptcc_alloc_rule()
307 static inline unsigned int iptcc_is_builtin(struct chain_head *c);
533 struct chain_head *c; in iptcc_chain_index_build()
592 static int iptcc_chain_index_delete_chain(struct chain_head *c, struct xtc_handle *h) in iptcc_chain_index_delete_chain()
595 struct chain_head *c2; in iptcc_chain_index_delete_chain()
613 c2 = list_entry(next, struct chain_head, list); in iptcc_chain_index_delete_chain()
635 static inline unsigned int iptcc_is_builtin(struct chain_head *c) in iptcc_is_builtin()
641 static struct rule_head *iptcc_get_rule_num(struct chain_head *c, in iptcc_get_rule_num()
656 static struct rule_head *iptcc_get_rule_num_reverse(struct chain_head *c, in iptcc_get_rule_num_reverse()
671 static struct chain_head *
691 struct chain_head *c = list_entry(pos, struct chain_head, list); in iptcc_find_chain_by_offset()
703 static struct chain_head *
716 struct chain_head *c = list_entry(pos, struct chain_head, list); in iptcc_find_label()
735 struct chain_head *test_c, *tmp_c; in iptcc_find_label()
739 test_c=list_entry(test_pos, struct chain_head,list); in iptcc_find_label()
740 tmp_c =list_entry(list_start_pos,struct chain_head,list); in iptcc_find_label()
756 struct chain_head *c = list_entry(pos, struct chain_head, list); in iptcc_find_label()
835 static void iptc_insert_chain(struct xtc_handle *h, struct chain_head *c) in iptc_insert_chain()
837 struct chain_head *tmp; in iptc_insert_chain()
878 static void __iptcc_p_add_chain(struct xtc_handle *h, struct chain_head *c, in __iptcc_p_add_chain()
882 struct chain_head *ctail; in __iptcc_p_add_chain()
897 ctail = list_entry(tail, struct chain_head, list); in __iptcc_p_add_chain()
945 struct chain_head *c = in cache_add_entry()
958 struct chain_head *c = in cache_add_entry()
1036 struct chain_head *c; in parse_table()
1055 struct chain_head *lc; in parse_table()
1129 static int iptcc_compile_chain(struct xtc_handle *h, STRUCT_REPLACE *repl, struct chain_head *c) in iptcc_compile_chain()
1178 static int iptcc_compile_chain_offsets(struct xtc_handle *h, struct chain_head *c, in iptcc_compile_chain_offsets()
1215 struct chain_head *c; in iptcc_compile_table_prep()
1238 struct chain_head *c; in iptcc_compile_table()
1377 struct chain_head *c, *tmp; in TC_FREE()
1441 struct chain_head *c = handle->chain_iterator_cur; in iptcc_chain_iterator_advance()
1447 list_entry(c->list.next, struct chain_head, list); in iptcc_chain_iterator_advance()
1454 struct chain_head *c = list_entry(handle->chains.next, in TC_FIRST_CHAIN()
1455 struct chain_head, list); in TC_FIRST_CHAIN()
1476 struct chain_head *c = handle->chain_iterator_cur; in TC_NEXT_CHAIN()
1495 struct chain_head *c; in TC_FIRST_RULE()
1617 struct chain_head *c; in TC_BUILTIN()
1636 struct chain_head *c; in TC_GET_POLICY()
1708 struct chain_head *c; in iptcc_map_target()
1740 struct chain_head *c; in TC_INSERT_ENTRY()
1799 struct chain_head *c; in TC_REPLACE_ENTRY()
1849 struct chain_head *c; in TC_APPEND_ENTRY()
1956 struct chain_head *c; in delete_entry()
2047 struct chain_head *c; in TC_DELETE_NUM_ENTRY()
2090 struct chain_head *c; in TC_FLUSH_ENTRIES()
2114 struct chain_head *c; in TC_ZERO_ENTRIES()
2141 struct chain_head *c; in TC_READ_COUNTER()
2164 struct chain_head *c; in TC_ZERO_COUNTER()
2193 struct chain_head *c; in TC_SET_COUNTER()
2225 static struct chain_head *c; in TC_CREATE_CHAIN()
2285 struct chain_head *c; in TC_GET_REFERENCES()
2303 struct chain_head *c; in TC_DELETE_CHAIN()
2359 struct chain_head *c; in TC_RENAME_CHAIN()
2405 struct chain_head *c; in TC_SET_POLICY()
2515 struct chain_head *c; in TC_COMMIT()