#include <getopt.h>
#include <sys/errno.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "iptables.h"
#include "xtables.h"
#include "libiptc/libiptc.h"
#include "iptables-multi.h"
Macros | |
#define | DEBUGP(x, args...) |
#define | prog_name iptables_globals.program_name |
Functions | |
int | iptables_restore_main (int argc, char *argv[]) |
#define DEBUGP | ( | x, | |
args... | |||
) |
Referenced by iptables_restore_main().
#define prog_name iptables_globals.program_name |
int iptables_restore_main | ( | int | argc, |
char * | argv[] | ||
) |
References xt_counters::bcnt, buffer, xtc_ops::builtin, xtc_ops::commit, xtc_ops::create_chain, DEBUGP, delete_chain4(), do_command4(), xtc_ops::flush_entries, flush_entries4(), for_each_chain4(), xtc_ops::free, init_extensions(), iptables_globals, iptc_ops, xtc_ops::is_chain, line, NFPROTO_IPV4, 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.