netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
conntrack.h File Reference
#include "linux_list.h"
#include <stdint.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#include <netinet/in.h>
Include dependency graph for conntrack.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  ctproto_handler
 

Macros

#define PROGNAME   "conntrack"
 
#define NUMBER_OF_CMD   19
 
#define NUMBER_OF_OPT   27
 

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 generic_opt_check (int options, int nops, char *optset, const char *optflg[], unsigned int *coupled_flags, int coupled_flags_size, int *partial)
 
void exit_error (enum exittype status, const char *msg,...)
 
void register_proto (struct ctproto_handler *h)
 
void register_tcp (void)
 
void register_udp (void)
 
void register_udplite (void)
 
void register_sctp (void)
 
void register_dccp (void)
 
void register_icmp (void)
 
void register_icmpv6 (void)
 
void register_gre (void)
 
void register_unknown (void)
 

Macro Definition Documentation

#define NUMBER_OF_CMD   19
#define NUMBER_OF_OPT   27
#define PROGNAME   "conntrack"

Referenced by __ebt_print_bug(), do_command(), and main().

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

void exit_error ( enum exittype  status,
const char *  msg,
  ... 
)
int generic_opt_check ( int  options,
int  nops,
char *  optset,
const char *  optflg[],
unsigned int *  coupled_flags,
int  coupled_flags_size,
int *  partial 
)

References exit_error(), NULL, and PARAMETER_PROBLEM.

Referenced by do_command4(), do_command6(), do_commandarp(), do_commandx(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

void register_dccp ( void  )

References register_proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void register_gre ( void  )

References register_proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void register_icmp ( void  )

References register_proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void register_icmpv6 ( void  )

References register_proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void register_sctp ( void  )

References register_proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void register_tcp ( void  )

References register_proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void register_udp ( void  )

References register_proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void register_udplite ( void  )

References register_proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void register_unknown ( void  )

Referenced by main().

Here is the caller graph for this function: