Home
last modified time | relevance | path

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

/external/iptables/iptables/
Dip6tables-save.c33 static int for_each_table(int (*func)(const char *tablename)) in for_each_table() argument
37 char tablename[XT_TABLE_MAXNAMELEN+1]; in for_each_table() local
43 while (fgets(tablename, sizeof(tablename), procfile)) { in for_each_table()
44 if (tablename[strlen(tablename) - 1] != '\n') in for_each_table()
47 tablename); in for_each_table()
48 tablename[strlen(tablename) - 1] = '\0'; in for_each_table()
49 ret &= func(tablename); in for_each_table()
57 static int do_output(const char *tablename) in do_output() argument
62 if (!tablename) in do_output()
65 h = ip6tc_init(tablename); in do_output()
[all …]
Diptables-save.c31 static int for_each_table(int (*func)(const char *tablename)) in for_each_table() argument
35 char tablename[XT_TABLE_MAXNAMELEN+1]; in for_each_table() local
41 while (fgets(tablename, sizeof(tablename), procfile)) { in for_each_table()
42 if (tablename[strlen(tablename) - 1] != '\n') in for_each_table()
45 tablename); in for_each_table()
46 tablename[strlen(tablename) - 1] = '\0'; in for_each_table()
47 ret &= func(tablename); in for_each_table()
55 static int do_output(const char *tablename) in do_output() argument
60 if (!tablename) in do_output()
63 h = iptc_init(tablename); in do_output()
[all …]
Dxtables-save.c41 do_output(struct nft_handle *h, const char *tablename, bool counters) in do_output() argument
45 if (!tablename) in do_output()
48 if (!nft_table_find(h, tablename)) { in do_output()
49 printf("Table `%s' does not exist\n", tablename); in do_output()
59 printf("*%s\n", tablename); in do_output()
63 nft_chain_save(h, chain_list, tablename); in do_output()
64 nft_rule_save(h, tablename, counters); in do_output()
80 const char *tablename = NULL; in xtables_save_main() local
118 tablename = optarg; in xtables_save_main()
147 do_output(&h, tablename, show_counters); in xtables_save_main()
[all …]
Dip6tables-restore.c67 static struct xtc_handle *create_handle(const char *tablename) in create_handle() argument
71 handle = ip6tc_init(tablename); in create_handle()
76 handle = ip6tc_init(tablename); in create_handle()
82 tablename); in create_handle()
197 const char *tablename = NULL; in ip6tables_restore_main() local
247 tablename = optarg; in ip6tables_restore_main()
320 if (tablename != NULL && strcmp(tablename, table) != 0) in ip6tables_restore_main()
478 if (tablename != NULL && strcmp(tablename, curtable) != 0) in ip6tables_restore_main()
Diptables-restore.c66 static struct xtc_handle *create_handle(const char *tablename) in create_handle() argument
70 handle = iptc_init(tablename); in create_handle()
75 handle = iptc_init(tablename); in create_handle()
80 "table '%s'\n", prog_name, tablename); in create_handle()
196 const char *tablename = NULL; in iptables_restore_main() local
246 tablename = optarg; in iptables_restore_main()
319 if (tablename && (strcmp(tablename, table) != 0)) in iptables_restore_main()
477 if (tablename && (strcmp(tablename, curtable) != 0)) in iptables_restore_main()
Dxtables-restore.c266 if (p->tablename && (strcmp(p->tablename, table) != 0)) in xtables_restore_parse()
424 if (p->tablename && (strcmp(p->tablename, curtable) != 0)) in xtables_restore_parse()
497 p.tablename = optarg; in xtables_restore_main()
Dnft.h60 …ble(struct nft_handle *h, int (*func)(struct nft_handle *h, const char *tablename, bool counters),…
61 bool nft_table_find(struct nft_handle *h, const char *tablename);
Dnft-shared.h88 void (*print_table_header)(const char *tablename);
240 const char *tablename; member
Dnft-bridge.c423 static void nft_bridge_print_table_header(const char *tablename) in nft_bridge_print_table_header() argument
425 printf("Bridge table: %s\n\n", tablename); in nft_bridge_print_table_header()
Dnft.c1668 bool nft_table_find(struct nft_handle *h, const char *tablename) in nft_table_find() argument
1688 if (strcmp(tablename, this_tablename) == 0) in nft_table_find()
1701 int (*func)(struct nft_handle *h, const char *tablename, bool counters), in nft_for_each_table() argument
1721 const char *tablename = in nft_for_each_table() local
1724 func(h, tablename, counters); in nft_for_each_table()
/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.man7 "TRACE: tablename:chainname:type:rulenum " where type can be "rule" for
/external/iptables/include/libiptc/
Dlibip6tc.h27 struct xtc_handle *ip6tc_init(const char *tablename);
Dlibiptc.h31 struct xtc_handle *iptc_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.c1279 alloc_handle(const char *tablename, unsigned int size, unsigned int num_rules) in alloc_handle() argument
1290 strcpy(h->info.name, tablename); in alloc_handle()
1296 strcpy(h->entries->name, tablename); in alloc_handle()
1309 TC_INIT(const char *tablename) in TC_INIT() argument
1320 if (strlen(tablename) >= TABLE_MAXNAMELEN) { in TC_INIT()
1337 strcpy(info.name, tablename); in TC_INIT()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.test.performance_3.6.0.v20091014.jarMETA-INF/MANIFEST.MF plugin.properties about.html scripts/cs.sh scripts ...
/external/e2fsprogs/lib/et/
Dcom_err.texinfo206 error_table @var{tablename}