configure: Avoid addition assignment operators
[iptables-mirror.git] / iptables / xtables-nft-multi.c
blob48265d8e0afa6a64c26354ddaf03648c29dab45b
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
4 #include "xshared.h"
6 #include "xtables-multi.h"
8 static const struct subcommand multi_subcommands[] = {
9 {"iptables-xml", iptables_xml_main},
10 {"xml", iptables_xml_main},
11 {"iptables", xtables_ip4_main},
12 {"iptables-nft", xtables_ip4_main},
13 {"main4", xtables_ip4_main},
14 {"save4", xtables_ip4_save_main},
15 {"restore4", xtables_ip4_restore_main},
16 {"iptables-save", xtables_ip4_save_main},
17 {"iptables-restore", xtables_ip4_restore_main},
18 {"iptables-nft-save", xtables_ip4_save_main},
19 {"iptables-nft-restore", xtables_ip4_restore_main},
20 {"ip6tables", xtables_ip6_main},
21 {"ip6tables-nft", xtables_ip6_main},
22 {"main6", xtables_ip6_main},
23 {"save6", xtables_ip6_save_main},
24 {"restore6", xtables_ip6_restore_main},
25 {"ip6tables-save", xtables_ip6_save_main},
26 {"ip6tables-restore", xtables_ip6_restore_main},
27 {"ip6tables-nft-save", xtables_ip6_save_main},
28 {"ip6tables-nft-restore", xtables_ip6_restore_main},
29 {"iptables-translate", xtables_ip4_xlate_main},
30 {"ip6tables-translate", xtables_ip6_xlate_main},
31 {"iptables-restore-translate", xtables_ip4_xlate_restore_main},
32 {"ip6tables-restore-translate", xtables_ip6_xlate_restore_main},
33 {"arptables-translate", xtables_arp_xlate_main},
34 {"arptables", xtables_arp_main},
35 {"arptables-nft", xtables_arp_main},
36 {"arptables-restore", xtables_arp_restore_main},
37 {"arptables-nft-restore", xtables_arp_restore_main},
38 {"arptables-save", xtables_arp_save_main},
39 {"arptables-nft-save", xtables_arp_save_main},
40 {"ebtables-translate", xtables_eb_xlate_main},
41 {"ebtables", xtables_eb_main},
42 {"ebtables-restore", xtables_eb_restore_main},
43 {"ebtables-save", xtables_eb_save_main},
44 {"ebtables-nft", xtables_eb_main},
45 {"ebtables-nft-restore", xtables_eb_restore_main},
46 {"ebtables-nft-save", xtables_eb_save_main},
47 {"xtables-monitor", xtables_monitor_main},
48 {NULL},
51 int main(int argc, char **argv)
53 return subcmd_main(argc, argv, multi_subcommands);