Searched refs:curtable (Results 1 – 2 of 2) sorted by relevance
/third_party/iptables/iptables/ |
D | xtables-restore.c | 71 const struct builtin_table *curtable; member 121 state->curtable = nft_table_builtin_find(h, table); in xtables_restore_parse_line() 122 if (!state->curtable) in xtables_restore_parse_line() 170 if (nft_chain_builtin_find(state->curtable, chain)) { in xtables_restore_parse_line() 182 cb->chain_set(h, state->curtable->name, in xtables_restore_parse_line() 191 } else if (cb->chain_restore(h, chain, state->curtable->name) < 0 && in xtables_restore_parse_line() 197 !ebt_cmd_user_chain_policy(h, state->curtable->name, in xtables_restore_parse_line() 212 add_argv(&state->av_store, state->curtable->name, 0); in xtables_restore_parse_line() 224 state->av_store.argc, state->curtable->name); in xtables_restore_parse_line() 246 if (p->tablename && state->curtable && in xtables_restore_parse_line() [all …]
|
D | iptables-restore.c | 100 char curtable[XT_TABLE_MAXNAMELEN + 1] = {}; in ip46tables_restore_main() local 218 strncpy(curtable, table, XT_TABLE_MAXNAMELEN); in ip46tables_restore_main() 219 curtable[XT_TABLE_MAXNAMELEN] = '\0'; in ip46tables_restore_main() 323 add_argv(&av_store, curtable, 0); in ip46tables_restore_main() 335 av_store.argc, curtable); in ip46tables_restore_main() 344 if (tablename && strcmp(tablename, curtable) != 0) in ip46tables_restore_main()
|