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

Data Structures

struct  xt_conntrack_mtinfo1
 
struct  xt_conntrack_mtinfo2
 
struct  xt_conntrack_mtinfo3
 

Macros

#define XT_CONNTRACK_STATE_BIT(ctinfo)   (1 << ((ctinfo)%IP_CT_IS_REPLY+1))
 
#define XT_CONNTRACK_STATE_INVALID   (1 << 0)
 
#define XT_CONNTRACK_STATE_SNAT   (1 << (IP_CT_NUMBER + 1))
 
#define XT_CONNTRACK_STATE_DNAT   (1 << (IP_CT_NUMBER + 2))
 
#define XT_CONNTRACK_STATE_UNTRACKED   (1 << (IP_CT_NUMBER + 3))
 

Enumerations

enum  {
  XT_CONNTRACK_STATE = 1 << 0,
  XT_CONNTRACK_PROTO = 1 << 1,
  XT_CONNTRACK_ORIGSRC = 1 << 2,
  XT_CONNTRACK_ORIGDST = 1 << 3,
  XT_CONNTRACK_REPLSRC = 1 << 4,
  XT_CONNTRACK_REPLDST = 1 << 5,
  XT_CONNTRACK_STATUS = 1 << 6,
  XT_CONNTRACK_EXPIRES = 1 << 7,
  XT_CONNTRACK_ORIGSRC_PORT = 1 << 8,
  XT_CONNTRACK_ORIGDST_PORT = 1 << 9,
  XT_CONNTRACK_REPLSRC_PORT = 1 << 10,
  XT_CONNTRACK_REPLDST_PORT = 1 << 11,
  XT_CONNTRACK_DIRECTION = 1 << 12,
  XT_CONNTRACK_STATE_ALIAS = 1 << 13
}
 

Macro Definition Documentation

#define XT_CONNTRACK_STATE_BIT (   ctinfo)    (1 << ((ctinfo)%IP_CT_IS_REPLY+1))
#define XT_CONNTRACK_STATE_DNAT   (1 << (IP_CT_NUMBER + 2))
#define XT_CONNTRACK_STATE_INVALID   (1 << 0)
#define XT_CONNTRACK_STATE_SNAT   (1 << (IP_CT_NUMBER + 1))
#define XT_CONNTRACK_STATE_UNTRACKED   (1 << (IP_CT_NUMBER + 3))

Enumeration Type Documentation

anonymous enum
Enumerator
XT_CONNTRACK_STATE 
XT_CONNTRACK_PROTO 
XT_CONNTRACK_ORIGSRC 
XT_CONNTRACK_ORIGDST 
XT_CONNTRACK_REPLSRC 
XT_CONNTRACK_REPLDST 
XT_CONNTRACK_STATUS 
XT_CONNTRACK_EXPIRES 
XT_CONNTRACK_ORIGSRC_PORT 
XT_CONNTRACK_ORIGDST_PORT 
XT_CONNTRACK_REPLSRC_PORT 
XT_CONNTRACK_REPLDST_PORT 
XT_CONNTRACK_DIRECTION 
XT_CONNTRACK_STATE_ALIAS