#include <getopt.h>
#include <sys/errno.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "ip6tables.h"
#include "xtables.h"
#include "libiptc/libip6tc.h"
#include "ip6tables-multi.h"
Macros | |
#define | DEBUGP(x, args...) |
Functions | |
int | ip6tables_restore_main (int argc, char *argv[]) |
#define DEBUGP | ( | x, | |
args... | |||
) |
Referenced by ip6tables_restore_main().
int ip6tables_restore_main | ( | int | argc, |
char * | argv[] | ||
) |
References xt_counters::bcnt, buffer, xtc_ops::builtin, xtc_ops::commit, xtc_ops::create_chain, DEBUGP, delete_chain6(), do_command6(), xtc_ops::flush_entries, flush_entries6(), for_each_chain6(), xtc_ops::free, init_extensions(), ip6tables_globals, ip6tc_ops, xtc_ops::is_chain, line, NFPROTO_IPV6, NULL, OTHER_PROBLEM, PARAMETER_PROBLEM, xt_counters::pcnt, xtables_globals::program_name, xtables_globals::program_version, xtc_ops::set_policy, xtc_ops::strerror, XT_EXTENSION_MAXNAMELEN, xt_params, XT_TABLE_MAXNAMELEN, xtables_error, xtables_init_all(), and xtables_modprobe_program.