/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 struct xtc_handle *(*init)(const char *); 11 void (*free)(struct xtc_handle *); 12 int (*builtin)(const char *, struct xtc_handle *const); 13 int (*is_chain)(const char *, struct xtc_handle *const); 14 int (*flush_entries)(const xt_chainlabel, struct xtc_handle *); 15 int (*create_chain)(const xt_chainlabel, struct xtc_handle *); 16 const char *(*first_chain)(struct xtc_handle *); 17 const char *(*next_chain)(struct xtc_handle *); [all …]
|
/external/iproute2/include/libiptc/ |
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 | 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 | 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/iproute2/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 | 127 struct xtc_handle { struct 186 set_changed(struct xtc_handle *h) in set_changed() 221 iptcb_get_entry(struct xtc_handle *h, unsigned int offset) in iptcb_get_entry() 227 iptcb_entry2index(struct xtc_handle *const h, const STRUCT_ENTRY *seek) in iptcb_entry2index() 241 iptcb_offset2entry(struct xtc_handle *h, unsigned int offset) in iptcb_offset2entry() 248 iptcb_entry2offset(struct xtc_handle *const h, const STRUCT_ENTRY *e) in iptcb_entry2offset() 254 iptcb_offset2index(struct xtc_handle *const h, unsigned int offset) in iptcb_offset2index() 261 iptcb_ent_is_hook_entry(STRUCT_ENTRY *e, struct xtc_handle *h) in iptcb_ent_is_hook_entry() 322 unsigned int *idx, struct xtc_handle *handle, in __iptcc_bsearch_chain_index() 423 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)
|
D | libip6tc.c | 132 dump_entry(struct ip6t_entry *e, struct xtc_handle *const handle) in dump_entry()
|
/external/iptables/iptables/ |
D | iptables-restore.c | 63 int, struct xtc_handle *), 65 struct xtc_handle *handle); 66 int (*flush_entries)(const xt_chainlabel, int, struct xtc_handle *); 67 int (*delete_chain)(const xt_chainlabel, int, struct xtc_handle *); 69 struct xtc_handle **handle, bool restore); 72 static struct xtc_handle * 75 struct xtc_handle *handle; in create_handle() 96 struct xtc_handle *handle = NULL; in ip46tables_restore_main()
|
D | iptables-save.c | 41 void (*dump_rules)(const char *chain, struct xtc_handle *handle); 76 struct xtc_handle *h; in do_output() 197 static void iptables_dump_rules(const char *chain, struct xtc_handle *h) in iptables_dump_rules() 243 static void ip6tables_dump_rules(const char *chain, struct xtc_handle *h) in ip6tables_dump_rules()
|
D | ip6tables.c | 300 print_header(unsigned int format, const char *chain, struct xtc_handle *handle) in print_header() 382 struct xtc_handle *const handle) in print_firewall() 458 struct xtc_handle *const h) in print_firewall_line() 476 struct xtc_handle *handle) in append_entry() 503 struct xtc_handle *handle) in replace_entry() 526 struct xtc_handle *handle) in insert_entry() 590 struct xtc_handle *handle, in delete_entry() 620 bool verbose, struct xtc_handle *handle, in check_entry() 646 for_each_chain6(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), in for_each_chain6() argument 647 int verbose, int builtinstoo, struct xtc_handle *handle) in for_each_chain6() [all …]
|
D | iptables.c | 290 print_header(unsigned int format, const char *chain, struct xtc_handle *handle) in print_header() 372 struct xtc_handle *const handle) in print_firewall() 449 struct xtc_handle *const h) in print_firewall_line() 467 struct xtc_handle *handle) in append_entry() 494 struct xtc_handle *handle) in replace_entry() 517 struct xtc_handle *handle) in insert_entry() 581 struct xtc_handle *handle, in delete_entry() 611 bool verbose, struct xtc_handle *handle, in check_entry() 637 for_each_chain4(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), in for_each_chain4() argument 638 int verbose, int builtinstoo, struct xtc_handle *handle) in for_each_chain4() [all …]
|
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()
|