/external/iptables/include/libiptc/ |
D | libiptc.h | 19 #define iptc_handle xtc_handle 28 int iptc_is_chain(const char *chain, struct xtc_handle *const handle); 31 struct xtc_handle *iptc_init(const char *tablename); 34 void iptc_free(struct xtc_handle *h); 37 const char *iptc_first_chain(struct xtc_handle *handle); 38 const char *iptc_next_chain(struct xtc_handle *handle); 42 struct xtc_handle *handle); 46 struct xtc_handle *handle); 50 struct xtc_handle *handle); 53 int iptc_builtin(const char *chain, struct xtc_handle *const handle); [all …]
|
D | libip6tc.h | 15 #define ip6tc_handle xtc_handle 24 int ip6tc_is_chain(const char *chain, struct xtc_handle *const handle); 27 struct xtc_handle *ip6tc_init(const char *tablename); 30 void ip6tc_free(struct xtc_handle *h); 33 const char *ip6tc_first_chain(struct xtc_handle *handle); 34 const char *ip6tc_next_chain(struct xtc_handle *handle); 38 struct xtc_handle *handle); 42 struct xtc_handle *handle); 46 struct xtc_handle *handle); 49 int ip6tc_builtin(const char *chain, struct xtc_handle *const handle); [all …]
|
D | xtcshared.h | 5 struct xtc_handle; 9 int (*commit)(struct xtc_handle *); 10 void (*free)(struct xtc_handle *); 11 int (*builtin)(const char *, struct xtc_handle *const); 12 int (*is_chain)(const char *, struct xtc_handle *const); 13 int (*flush_entries)(const xt_chainlabel, struct xtc_handle *); 14 int (*create_chain)(const xt_chainlabel, struct xtc_handle *); 16 struct xt_counters *, struct xtc_handle *);
|
/external/iptables/include/ |
D | ip6tables.h | 11 struct xtc_handle **handle, bool restore); 13 …6(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), int verbose, int builtinstoo, struct x… 14 extern int flush_entries6(const xt_chainlabel chain, int verbose, struct xtc_handle *handle); 15 extern int delete_chain6(const xt_chainlabel chain, int verbose, struct xtc_handle *handle); 16 void print_rule6(const struct ip6t_entry *e, struct xtc_handle *h, const char *chain, int counters);
|
D | iptables.h | 11 struct xtc_handle **handle, bool restore); 13 struct xtc_handle *handle); 15 struct xtc_handle *handle); 16 extern int for_each_chain4(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), 17 int verbose, int builtinstoo, struct xtc_handle *handle); 19 struct xtc_handle *handle, const char *chain, int counters);
|
/external/iptables/libiptc/ |
D | libiptc.c | 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() [all …]
|
D | libip4tc.c | 124 dump_entry(struct ipt_entry *e, struct xtc_handle *const handle) in dump_entry() 239 struct xtc_handle *h) 315 do_check(struct xtc_handle *h, unsigned int line)
|
D | libip6tc.c | 132 dump_entry(struct ip6t_entry *e, struct xtc_handle *const handle) in dump_entry() 263 do_check(struct xtc_handle *h, unsigned int line) in do_check()
|
/external/iptables/iptables/ |
D | ip6tables.c | 434 print_header(unsigned int format, const char *chain, struct xtc_handle *handle) in print_header() 510 struct xtc_handle *const handle) in print_firewall() 632 struct xtc_handle *const h) in print_firewall_line() 650 struct xtc_handle *handle) in append_entry() 677 struct xtc_handle *handle) in replace_entry() 700 struct xtc_handle *handle) in insert_entry() 764 struct xtc_handle *handle, in delete_entry() 794 bool verbose, struct xtc_handle *handle, in check_entry() 820 for_each_chain6(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), in for_each_chain6() argument 821 int verbose, int builtinstoo, struct xtc_handle *handle) in for_each_chain6() [all …]
|
D | iptables.c | 419 print_header(unsigned int format, const char *chain, struct xtc_handle *handle) in print_header() 495 struct xtc_handle *const handle) in print_firewall() 617 struct xtc_handle *const h) in print_firewall_line() 635 struct xtc_handle *handle) in append_entry() 662 struct xtc_handle *handle) in replace_entry() 685 struct xtc_handle *handle) in insert_entry() 749 struct xtc_handle *handle, in delete_entry() 779 bool verbose, struct xtc_handle *handle, in check_entry() 805 for_each_chain4(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), in for_each_chain4() argument 806 int verbose, int builtinstoo, struct xtc_handle *handle) in for_each_chain4() [all …]
|
D | ip6tables-restore.c | 59 static struct xtc_handle *create_handle(const char *tablename) in create_handle() 61 struct xtc_handle *handle; in create_handle() 183 struct xtc_handle *handle = NULL; in ip6tables_restore_main()
|
D | iptables-restore.c | 59 static struct xtc_handle *create_handle(const char *tablename) in create_handle() 61 struct xtc_handle *handle; in create_handle() 183 struct xtc_handle *handle = NULL; in iptables_restore_main()
|
D | ip6tables-standalone.c | 45 struct xtc_handle *handle = NULL; in ip6tables_main()
|
D | iptables-standalone.c | 47 struct xtc_handle *handle = NULL; in iptables_main()
|
D | ip6tables-save.c | 63 struct xtc_handle *h; in do_output()
|
D | iptables-save.c | 61 struct xtc_handle *h; in do_output()
|