Searched refs:curtable (Results 1 – 2 of 2) sorted by relevance
186 char curtable[XT_TABLE_MAXNAMELEN + 1]; in ip6tables_restore_main() local285 strncpy(curtable, table, XT_TABLE_MAXNAMELEN); in ip6tables_restore_main()286 curtable[XT_TABLE_MAXNAMELEN] = '\0'; in ip6tables_restore_main()424 add_argv(curtable); in ip6tables_restore_main()435 newargc, curtable); in ip6tables_restore_main()446 if (tablename != NULL && strcmp(tablename, curtable) != 0) in ip6tables_restore_main()
186 char curtable[XT_TABLE_MAXNAMELEN + 1]; in iptables_restore_main() local285 strncpy(curtable, table, XT_TABLE_MAXNAMELEN); in iptables_restore_main()286 curtable[XT_TABLE_MAXNAMELEN] = '\0'; in iptables_restore_main()424 add_argv(curtable); in iptables_restore_main()435 newargc, curtable); in iptables_restore_main()446 if (tablename && (strcmp(tablename, curtable) != 0)) in iptables_restore_main()