netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
arptables_common.h File Reference
This graph shows which files directly or indirectly include this file:

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
 

Enumeration Type Documentation

enum exittype
Enumerator
OTHER_PROBLEM 
PARAMETER_PROBLEM 
VERSION_PROBLEM 
OTHER_PROBLEM 
PARAMETER_PROBLEM 
VERSION_PROBLEM 
NO_PROBLEM 
OTHER_PROBLEM 
PARAMETER_PROBLEM 
VERSION_PROBLEM 
SESSION_PROBLEM 

Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void exit_error ( enum exittype  ,
char *  ,
  ... 
)
void exit_tryhelp ( int  )
void format ( printf  ,
,
 
)

Referenced by export_alloc(), and monitor_alloc().

Here is the caller graph for this function:

void init_extensions ( void  )
int iptables_insmod ( const char *  modname,
const char *  modprobe 
)
int string_to_number ( const char *  ,
unsigned  int,
unsigned  int,
unsigned int *   
)

References string_to_number_l().

Referenced by dotted_to_addr().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const char* program_name
const char * program_version