Home
last modified time | relevance | path

Searched refs:curtable (Results 1 – 2 of 2) sorted by relevance

/external/iptables/iptables/
Dip6tables-restore.c186 char curtable[XT_TABLE_MAXNAMELEN + 1]; in ip6tables_restore_main() local
285 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()
Diptables-restore.c186 char curtable[XT_TABLE_MAXNAMELEN + 1]; in iptables_restore_main() local
285 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()