Home
last modified time | relevance | path

Searched refs:tablename (Results 1 – 22 of 22) sorted by relevance

/external/iptables/iptables/
Diptables-save.c45 for_each_table(int (*func)(struct iptables_save_cb *cb, const char *tablename), in for_each_table() argument
50 char tablename[XT_TABLE_MAXNAMELEN+1]; in for_each_table() local
61 while (fgets(tablename, sizeof(tablename), procfile)) { in for_each_table()
62 if (tablename[strlen(tablename) - 1] != '\n') in for_each_table()
65 tablename); in for_each_table()
66 tablename[strlen(tablename) - 1] = '\0'; in for_each_table()
67 ret &= func(cb, tablename); in for_each_table()
74 static int do_output(struct iptables_save_cb *cb, const char *tablename) in do_output() argument
79 if (!tablename) in do_output()
82 h = cb->ops->init(tablename); in do_output()
[all …]
Dxtables-save.c69 __do_output(struct nft_handle *h, const char *tablename, void *data) in __do_output() argument
74 if (!nft_table_builtin_find(h, tablename)) in __do_output()
77 if (!nft_is_table_compatible(h, tablename, NULL)) { in __do_output()
79 tablename); in __do_output()
87 printf("*%s\n", tablename); in __do_output()
90 nft_chain_foreach(h, tablename, nft_chain_save, h); in __do_output()
91 nft_rule_save(h, tablename, d->format); in __do_output()
101 do_output(struct nft_handle *h, const char *tablename, struct do_output_data *d) in do_output() argument
105 if (!tablename) { in do_output()
111 if (!nft_table_find(h, tablename) && in do_output()
[all …]
Diptables-restore.c73 create_handle(const struct iptables_restore_cb *cb, const char *tablename) in create_handle() argument
77 handle = cb->ops->init(tablename); in create_handle()
82 handle = cb->ops->init(tablename); in create_handle()
87 "table '%s'\n", xt_params->program_name, tablename); in create_handle()
103 const char *tablename = NULL; in ip46tables_restore_main() local
144 tablename = optarg; in ip46tables_restore_main()
221 if (tablename && strcmp(tablename, table) != 0) { in ip46tables_restore_main()
344 if (tablename && strcmp(tablename, curtable) != 0) in ip46tables_restore_main()
Dxtables-restore.c127 if (p->tablename && (strcmp(p->tablename, table) != 0)) in xtables_restore_parse_line()
246 if (p->tablename && state->curtable && in xtables_restore_parse_line()
247 (strcmp(p->tablename, state->curtable->name) != 0)) in xtables_restore_parse_line()
331 p.tablename = optarg; in xtables_restore_main()
Dnft-cache.c550 const char *tablename);
654 const char *tablename) in flush_cache() argument
659 if (tablename) { in flush_cache()
660 table = nft_table_builtin_find(h, tablename); in flush_cache()
665 nft_chain_foreach(h, tablename, __flush_chain_cache, NULL); in flush_cache()
694 void flush_chain_cache(struct nft_handle *h, const char *tablename) in flush_chain_cache() argument
699 if (flush_cache(h, h->cache, tablename)) in flush_chain_cache()
Dnft-cache.h13 void flush_chain_cache(struct nft_handle *h, const char *tablename);
Dnft.h134 …ble(struct nft_handle *h, int (*func)(struct nft_handle *h, const char *tablename, void *data), vo…
135 bool nft_table_find(struct nft_handle *h, const char *tablename);
Dnft-shared.h94 void (*print_table_header)(const char *tablename);
242 const char *tablename; member
Dnft.c1962 bool nft_table_find(struct nft_handle *h, const char *tablename) in nft_table_find() argument
1966 t = nft_table_builtin_find(h, tablename); in nft_table_find()
1971 int (*func)(struct nft_handle *h, const char *tablename, void *data), in nft_for_each_table() argument
2697 const char *tablename, *chainname; in nft_refresh_transaction() local
2707 tablename = nftnl_table_get_str(n->table, NFTNL_TABLE_NAME); in nft_refresh_transaction()
2708 if (!tablename) in nft_refresh_transaction()
2710 exists = nft_table_find(h, tablename); in nft_refresh_transaction()
2717 tablename = nftnl_chain_get_str(n->chain, NFTNL_CHAIN_TABLE); in nft_refresh_transaction()
2718 if (!tablename) in nft_refresh_transaction()
2728 c = nft_chain_find(h, tablename, chainname); in nft_refresh_transaction()
[all …]
Dnft-bridge.c533 static void nft_bridge_print_table_header(const char *tablename) in nft_bridge_print_table_header() argument
535 printf("Bridge table: %s\n\n", tablename); in nft_bridge_print_table_header()
/external/iproute2/doc/actions/
Dactions-general175 action order 1: tablename: mangle hook: NF_IP_PRE_ROUTING
180 action order 3: tablename: mangle hook: NF_IP_PRE_ROUTING
185 action order 5: tablename: mangle hook: NF_IP_PRE_ROUTING
217 action order 1: tablename: mangle hook: NF_IP_PRE_ROUTING
224 action order 3: tablename: mangle hook: NF_IP_PRE_ROUTING
231 action order 5: tablename: mangle hook: NF_IP_PRE_ROUTING
Difb-README90 action order 1: tablename: mangle hook: NF_IP_PRE_ROUTING
/external/iptables/extensions/
Dlibxt_TRACE.man10 "TRACE: tablename:chainname:type:rulenum " where type can be "rule" for
/external/iptables/include/libiptc/
Dlibiptc.h31 struct xtc_handle *iptc_init(const char *tablename);
Dlibip6tc.h27 struct xtc_handle *ip6tc_init(const char *tablename);
/external/iproute2/include/libiptc/
Dlibip6tc.h27 struct xtc_handle *ip6tc_init(const char *tablename);
Dlibiptc.h31 struct xtc_handle *iptc_init(const char *tablename);
/external/iptables/libiptc/
Dlibiptc.c1296 TC_INIT(const char *tablename) in TC_INIT() argument
1307 if (strlen(tablename) >= TABLE_MAXNAMELEN) { in TC_INIT()
1324 strcpy(info.name, tablename); in TC_INIT()
/external/flatbuffers/include/flatbuffers/
Didl.h988 const std::string &tablename,
/external/e2fsprogs/lib/et/
Dcom_err.texinfo206 error_table @var{tablename}
/external/python/cpython2/Modules/
Dposixmodule.c8594 char *tablename, PyObject *module) in setup_confname_table() argument
8612 return PyModule_AddObject(module, tablename, d); in setup_confname_table()
/external/python/cpython3/Modules/
Dposixmodule.c12225 const char *tablename, PyObject *module) in setup_confname_table() argument
12244 return PyModule_AddObject(module, tablename, d); in setup_confname_table()