Home
last modified time | relevance | path

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

/external/iproute2/include/libiptc/
Dlibiptc.h19 #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 …]
Dlibip6tc.h15 #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 …]
Dxtcshared.h5 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/libiptc/
Dlibiptc.h19 #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 …]
Dlibip6tc.h15 #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 …]
Dxtcshared.h5 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/
Dip6tables.h11 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);
Diptables.h11 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/
Dip6tables.h11 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);
Diptables.h11 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/
Dlibiptc.c134 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 …]
Dlibip4tc.c124 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)
Dlibip6tc.c132 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/
Diptables.c451 print_header(unsigned int format, const char *chain, struct xtc_handle *handle) in print_header()
529 struct xtc_handle *const handle) in print_firewall()
653 struct xtc_handle *const h) in print_firewall_line()
671 struct xtc_handle *handle) in append_entry()
698 struct xtc_handle *handle) in replace_entry()
721 struct xtc_handle *handle) in insert_entry()
785 struct xtc_handle *handle, in delete_entry()
815 bool verbose, struct xtc_handle *handle, in check_entry()
841 for_each_chain4(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), in for_each_chain4() argument
842 int verbose, int builtinstoo, struct xtc_handle *handle) in for_each_chain4()
[all …]
Dip6tables.c467 print_header(unsigned int format, const char *chain, struct xtc_handle *handle) in print_header()
545 struct xtc_handle *const handle) in print_firewall()
669 struct xtc_handle *const h) in print_firewall_line()
687 struct xtc_handle *handle) in append_entry()
714 struct xtc_handle *handle) in replace_entry()
737 struct xtc_handle *handle) in insert_entry()
801 struct xtc_handle *handle, in delete_entry()
831 bool verbose, struct xtc_handle *handle, in check_entry()
857 for_each_chain6(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), in for_each_chain6() argument
858 int verbose, int builtinstoo, struct xtc_handle *handle) in for_each_chain6()
[all …]
Dip6tables-restore.c67 static struct xtc_handle *create_handle(const char *tablename) in create_handle()
69 struct xtc_handle *handle; in create_handle()
191 struct xtc_handle *handle = NULL; in ip6tables_restore_main()
Diptables-restore.c66 static struct xtc_handle *create_handle(const char *tablename) in create_handle()
68 struct xtc_handle *handle; in create_handle()
190 struct xtc_handle *handle = NULL; in iptables_restore_main()
Dip6tables-standalone.c45 struct xtc_handle *handle = NULL; in ip6tables_main()
Diptables-standalone.c47 struct xtc_handle *handle = NULL; in iptables_main()
Dip6tables-save.c65 struct xtc_handle *h; in do_output()
Diptables-save.c63 struct xtc_handle *h; in do_output()