Lines Matching refs:xtc_handle

134 struct xtc_handle {  struct
193 set_changed(struct xtc_handle *h) in set_changed()
199 static void do_check(struct xtc_handle *h, unsigned int line);
236 iptcb_get_entry(struct xtc_handle *h, unsigned int offset) in iptcb_get_entry()
242 iptcb_entry2index(struct xtc_handle *const h, const STRUCT_ENTRY *seek) in iptcb_entry2index()
256 iptcb_offset2entry(struct xtc_handle *h, unsigned int offset) in iptcb_offset2entry()
263 iptcb_entry2offset(struct xtc_handle *const h, const STRUCT_ENTRY *e) in iptcb_entry2offset()
269 iptcb_offset2index(struct xtc_handle *const h, unsigned int offset) in iptcb_offset2index()
276 iptcb_ent_is_hook_entry(STRUCT_ENTRY *e, struct xtc_handle *h) in iptcb_ent_is_hook_entry()
337 unsigned int *idx, struct xtc_handle *handle, in __iptcc_bsearch_chain_index()
438 struct xtc_handle *handle) in iptcc_bsearch_chain_index()
447 struct xtc_handle *handle) in iptcc_bsearch_chain_offset()
467 iptcc_linearly_search_chain_index(const char *name, struct xtc_handle *handle) in iptcc_linearly_search_chain_index()
495 static int iptcc_chain_index_alloc(struct xtc_handle *h) in iptcc_chain_index_alloc()
520 static void iptcc_chain_index_free(struct xtc_handle *h) in iptcc_chain_index_free()
528 static void iptcc_chain_index_dump(struct xtc_handle *h) in iptcc_chain_index_dump()
543 static int iptcc_chain_index_build(struct xtc_handle *h) in iptcc_chain_index_build()
585 static int iptcc_chain_index_rebuild(struct xtc_handle *h) in iptcc_chain_index_rebuild()
607 static int iptcc_chain_index_delete_chain(struct chain_head *c, struct xtc_handle *h) in iptcc_chain_index_delete_chain()
687 iptcc_find_chain_by_offset(struct xtc_handle *handle, unsigned int offset) in iptcc_find_chain_by_offset()
719 iptcc_find_label(const char *name, struct xtc_handle *handle) in iptcc_find_label()
816 static int __iptcc_p_del_policy(struct xtc_handle *h, unsigned int num) in __iptcc_p_del_policy()
850 static void iptc_insert_chain(struct xtc_handle *h, struct chain_head *c) in iptc_insert_chain()
893 static void __iptcc_p_add_chain(struct xtc_handle *h, struct chain_head *c, in __iptcc_p_add_chain()
936 struct xtc_handle *h, in cache_add_entry()
1047 static int parse_table(struct xtc_handle *h) in parse_table()
1118 static inline int iptcc_compile_rule (struct xtc_handle *h, STRUCT_REPLACE *repl, struct rule_head … in iptcc_compile_rule()
1143 static int iptcc_compile_chain(struct xtc_handle *h, STRUCT_REPLACE *repl, struct chain_head *c) in iptcc_compile_chain()
1191 static int iptcc_compile_chain_offsets(struct xtc_handle *h, struct chain_head *c, in iptcc_compile_chain_offsets()
1226 static int iptcc_compile_table_prep(struct xtc_handle *h, unsigned int *size) in iptcc_compile_table_prep()
1249 static int iptcc_compile_table(struct xtc_handle *h, STRUCT_REPLACE *repl) in iptcc_compile_table()
1278 static struct xtc_handle *
1281 struct xtc_handle *h; in alloc_handle()
1308 struct xtc_handle *
1311 struct xtc_handle *h; in TC_INIT()
1389 TC_FREE(struct xtc_handle *h) in TC_FREE()
1419 static int dump_entry(STRUCT_ENTRY *e, struct xtc_handle *const handle);
1422 TC_DUMP_ENTRIES(struct xtc_handle *const handle) in TC_DUMP_ENTRIES()
1448 int TC_IS_CHAIN(const char *chain, struct xtc_handle *const handle) in TC_IS_CHAIN()
1454 static void iptcc_chain_iterator_advance(struct xtc_handle *handle) in iptcc_chain_iterator_advance()
1467 TC_FIRST_CHAIN(struct xtc_handle *handle) in TC_FIRST_CHAIN()
1489 TC_NEXT_CHAIN(struct xtc_handle *handle) in TC_NEXT_CHAIN()
1508 TC_FIRST_RULE(const char *chain, struct xtc_handle *handle) in TC_FIRST_RULE()
1538 TC_NEXT_RULE(const STRUCT_ENTRY *prev, struct xtc_handle *handle) in TC_NEXT_RULE()
1599 struct xtc_handle *handle) in TC_GET_TARGET()
1630 TC_BUILTIN(const char *chain, struct xtc_handle *const handle) in TC_BUILTIN()
1649 struct xtc_handle *handle) in TC_GET_POLICY()
1695 iptcc_map_target(struct xtc_handle *const handle, in iptcc_map_target()
1750 struct xtc_handle *handle) in TC_INSERT_ENTRY()
1809 struct xtc_handle *handle) in TC_REPLACE_ENTRY()
1859 struct xtc_handle *handle) in TC_APPEND_ENTRY()
1965 unsigned char *matchmask, struct xtc_handle *handle, in delete_entry()
2040 unsigned char *matchmask, struct xtc_handle *handle) in TC_CHECK_ENTRY()
2048 unsigned char *matchmask, struct xtc_handle *handle) in TC_DELETE_ENTRY()
2057 struct xtc_handle *handle) in TC_DELETE_NUM_ENTRY()
2100 TC_FLUSH_ENTRIES(const IPT_CHAINLABEL chain, struct xtc_handle *handle) in TC_FLUSH_ENTRIES()
2124 TC_ZERO_ENTRIES(const IPT_CHAINLABEL chain, struct xtc_handle *handle) in TC_ZERO_ENTRIES()
2151 struct xtc_handle *handle) in TC_READ_COUNTER()
2175 struct xtc_handle *handle) in TC_ZERO_COUNTER()
2205 struct xtc_handle *handle) in TC_SET_COUNTER()
2238 TC_CREATE_CHAIN(const IPT_CHAINLABEL chain, struct xtc_handle *handle) in TC_CREATE_CHAIN()
2298 struct xtc_handle *handle) in TC_GET_REFERENCES()
2315 TC_DELETE_CHAIN(const IPT_CHAINLABEL chain, struct xtc_handle *handle) in TC_DELETE_CHAIN()
2372 struct xtc_handle *handle) in TC_RENAME_CHAIN()
2418 struct xtc_handle *handle) in TC_SET_POLICY()
2525 TC_COMMIT(struct xtc_handle *handle) in TC_COMMIT()