netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ip6tables.h File Reference
#include <netinet/ip.h>
#include <xtables.h>
#include <libiptc/libip6tc.h>
#include <iptables/internal.h>
Include dependency graph for ip6tables.h:
This graph shows which files directly or indirectly include this file:

Functions

int do_command6 (int argc, char *argv[], char **table, struct xtc_handle **handle, bool restore)
 
int for_each_chain6 (int(*fn)(const xt_chainlabel, int, struct xtc_handle *), int verbose, int builtinstoo, struct xtc_handle *handle)
 
int flush_entries6 (const xt_chainlabel chain, int verbose, struct xtc_handle *handle)
 
int delete_chain6 (const xt_chainlabel chain, int verbose, struct xtc_handle *handle)
 
void print_rule6 (const struct ip6t_entry *e, struct xtc_handle *h, const char *chain, int counters)
 

Variables

struct xtables_globals ip6tables_globals
 

Function Documentation

int delete_chain6 ( const xt_chainlabel  chain,
int  verbose,
struct xtc_handle handle 
)

References for_each_chain6(), and ip6tc_delete_chain().

Referenced by do_command6(), and ip6tables_restore_main().

Here is the call graph for this function:

Here is the caller graph for this function:

int do_command6 ( int  argc,
char *  argv[],
char **  table,
struct xtc_handle **  handle,
bool  restore 
)

References iptables_command_state::argv, xt_counters::bcnt, iptables_command_state::c, CMD_APPEND, CMD_CHECK, CMD_DELETE, CMD_DELETE_CHAIN, CMD_DELETE_NUM, CMD_FLUSH, CMD_INSERT, CMD_LIST, CMD_LIST_RULES, CMD_NEW_CHAIN, CMD_NONE, CMD_RENAME_CHAIN, CMD_REPLACE, CMD_SET_POLICY, CMD_ZERO, CMD_ZERO_NUM, command_default(), ip6t_entry::counters, delete_chain6(), dump_entries6(), exit_printhelp(), exit_tryhelp(), FALSE, ip6t_ip6::flags, flush_entries6(), iptables_command_state::fw6, generic_opt_check(), ip6t_ip6::iniface, ip6t_ip6::iniface_mask, iptables_command_state::invert, ip6t_ip6::invflags, IP6T_F_GOTO, IP6T_F_PROTO, IP6T_INV_DSTIP, IP6T_INV_SRCIP, ip6tables_globals, ip6tc_create_chain(), ip6tc_delete_num_entry(), ip6tc_init(), ip6tc_is_chain(), ip6tc_rename_chain(), ip6tc_set_policy(), ip6tc_strerror(), ip6tc_zero_counter(), ip6t_entry::ipv6, iptables_command_state::jumpto, line, xtables_match::m, xtables_rule_match::match, iptables_command_state::matches, xtables_match::mflags, xtables_match::next, xtables_target::next, xtables_rule_match::next, NULL, OPT_COUNTERS, OPT_DESTINATION, OPT_EXPANDED, OPT_JUMP, OPT_LINENUMBERS, OPT_NUMERIC, OPT_PROTOCOL, OPT_SOURCE, OPT_VERBOSE, OPT_VIANAMEIN, OPT_VIANAMEOUT, iptables_command_state::options, opts, xtables_globals::orig_opts, ip6t_ip6::outiface, ip6t_ip6::outiface_mask, PARAMETER_PROBLEM, xt_counters::pcnt, prog_name, prog_vers, ip6t_ip6::proto, iptables_command_state::protocol, RESOURCE_PROBLEM, size, xtables_target::t, xt_entry_target::target, iptables_command_state::target, xtables_target::tflags, TRUE, xtables_target::used, VERSION_PROBLEM, xs_init_target(), XT_INV_PROTO, xt_params, XT_STANDARD_TARGET, xtables_calloc(), xtables_error, xtables_find_match(), xtables_find_target(), xtables_free_opts(), xtables_ip6parse_multiple(), xtables_load_ko(), xtables_lock(), xtables_matches, xtables_modprobe_program, xtables_option_mfcall(), xtables_option_tfcall(), xtables_parse_interface(), xtables_parse_protocol(), xtables_rule_matches_free(), xtables_targets, XTF_LOAD_MUST_SUCCEED, and XTF_TRY_LOAD.

Referenced by ip6tables_main(), and ip6tables_restore_main().

Here is the call graph for this function:

Here is the caller graph for this function:

int flush_entries6 ( const xt_chainlabel  chain,
int  verbose,
struct xtc_handle handle 
)

References for_each_chain6(), and ip6tc_flush_entries().

Referenced by do_command6(), and ip6tables_restore_main().

Here is the call graph for this function:

Here is the caller graph for this function:

int for_each_chain6 ( int(*)(const xt_chainlabel, int, struct xtc_handle *)  fn,
int  verbose,
int  builtinstoo,
struct xtc_handle handle 
)

References ip6tc_builtin(), ip6tc_first_chain(), ip6tc_next_chain(), and xtables_malloc().

Referenced by delete_chain6(), flush_entries6(), and ip6tables_restore_main().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation