netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ipset.c File Reference
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
#include <libipset/debug.h>
#include <libipset/data.h>
#include <libipset/parse.h>
#include <libipset/session.h>
#include <libipset/types.h>
#include <libipset/ui.h>
#include <libipset/utils.h>
Include dependency graph for ipset.c:

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

int ipset_parse_file (struct ipset_session *s UNUSED, int opt UNUSED, const char *str)
 
int parse_commandline (int argc, char *argv[])
 
int main (int argc, char *argv[])
 

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 ipset_parse_file ( struct ipset_session *s  UNUSED,
int opt  UNUSED,
const char *  str 
)

References exit_error(), NULL, and PARAMETER_PROBLEM.

Here is the call graph for this function:

int main ( int  argc,
char *  argv[] 
)

References exit_error(), ipset_load_types(), ipset_session_fini(), ipset_session_init(), NULL, OTHER_PROBLEM, and parse_commandline().

Here is the call graph for this function: