Enumerations | |
enum | exittype { OTHER_PROBLEM = 1, PARAMETER_PROBLEM, VERSION_PROBLEM, OTHER_PROBLEM = 1, PARAMETER_PROBLEM, VERSION_PROBLEM, NO_PROBLEM = 0, OTHER_PROBLEM, PARAMETER_PROBLEM, VERSION_PROBLEM, SESSION_PROBLEM } |
Functions | |
void | exit_printhelp () __attribute__((noreturn)) |
void | exit_tryhelp (int) __attribute__((noreturn)) |
int | check_inverse (const char option[], int *invert, int *optind, int argc) |
int | string_to_number (const char *, unsigned int, unsigned int, unsigned int *) |
int | iptables_insmod (const char *modname, const char *modprobe) |
void | exit_error (enum exittype, char *,...) __attribute__((noreturn |
void | format (printf, 2, 3))) |
void | init_extensions (void) |
Variables | |
const char * | program_name |
const char * | program_version |
enum exittype |
int check_inverse | ( | const char | option[], |
int * | invert, | ||
int * | optind, | ||
int | argc | ||
) |
References exit_error(), FALSE, PARAMETER_PROBLEM, and TRUE.
Referenced by do_command(), and do_commandarp().
void exit_error | ( | enum exittype | , |
char * | , | ||
... | |||
) |
void exit_printhelp | ( | ) |
References arptables_match::help, arptables_target::help, arptables_match::m, arptables_match::next, arptables_target::next, NULL, NUMOPCODES, program_name, program_version, and arptables_target::t.
Referenced by do_command(), do_command4(), do_command6(), do_commandarp(), and do_commandx().
void exit_tryhelp | ( | int | ) |
References program_name.
Referenced by do_command(), do_command4(), do_command6(), do_commandarp(), do_commandx(), exit_error(), ip6tables_exit_error(), iptables_exit_error(), and xtables_exit_error().
void format | ( | printf | , |
2 | , | ||
3 | |||
) |
void init_extensions | ( | void | ) |
Referenced by ip6tables_main(), ip6tables_restore_main(), ip6tables_save_main(), iptables_main(), iptables_restore_main(), iptables_save_main(), xtables_arp_main(), and xtables_events_main().
int iptables_insmod | ( | const char * | modname, |
const char * | modprobe | ||
) |
References string_to_number_l().
Referenced by dotted_to_addr().
const char* program_name |
const char * program_version |