The Netsukuku Project
0.0.9
An Alternative routing method
|
#include <linux/netfilter/nf_conntrack_common.h>
#include <linux/netfilter/nf_conntrack_tuple_common.h>
#include <linux/version.h>
Go to the source code of this file.
Data Structures | |
struct | ip_conntrack_old_tuple |
struct | ipt_conntrack_info |
Macros | |
#define | KERNEL_VERSION(a, b, c) (((a) << 16) | ((b) << 8) | (c)) |
#define | IPS_EXPECTED (1 << 0) |
#define | IPS_SEEN_REPLY (1 << 1) |
#define | IPS_ASSURED (1 << 2) |
#define | IP_CT_DIR_ORIGINAL 0 |
#define | IP_CT_DIR_REPLY 1 |
#define | IP_CT_DIR_MAX 2 |
#define | IPT_CONNTRACK_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1)) |
#define | IPT_CONNTRACK_STATE_INVALID (1 << 0) |
#define | IPT_CONNTRACK_STATE_SNAT (1 << (IP_CT_NUMBER + 1)) |
#define | IPT_CONNTRACK_STATE_DNAT (1 << (IP_CT_NUMBER + 2)) |
#define | IPT_CONNTRACK_STATE_UNTRACKED (1 << (IP_CT_NUMBER + 3)) |
#define | IPT_CONNTRACK_STATE 0x01 |
#define | IPT_CONNTRACK_PROTO 0x02 |
#define | IPT_CONNTRACK_ORIGSRC 0x04 |
#define | IPT_CONNTRACK_ORIGDST 0x08 |
#define | IPT_CONNTRACK_REPLSRC 0x10 |
#define | IPT_CONNTRACK_REPLDST 0x20 |
#define | IPT_CONNTRACK_STATUS 0x40 |
#define | IPT_CONNTRACK_EXPIRES 0x80 |
#define IP_CT_DIR_MAX 2 |
#define IP_CT_DIR_ORIGINAL 0 |
#define IP_CT_DIR_REPLY 1 |
#define IPS_ASSURED (1 << 2) |
#define IPS_EXPECTED (1 << 0) |
#define IPS_SEEN_REPLY (1 << 1) |
#define IPT_CONNTRACK_EXPIRES 0x80 |
#define IPT_CONNTRACK_ORIGDST 0x08 |
#define IPT_CONNTRACK_ORIGSRC 0x04 |
#define IPT_CONNTRACK_PROTO 0x02 |
#define IPT_CONNTRACK_REPLDST 0x20 |
#define IPT_CONNTRACK_REPLSRC 0x10 |
#define IPT_CONNTRACK_STATE 0x01 |
#define IPT_CONNTRACK_STATE_BIT | ( | ctinfo | ) | (1 << ((ctinfo)%IP_CT_IS_REPLY+1)) |
#define IPT_CONNTRACK_STATE_DNAT (1 << (IP_CT_NUMBER + 2)) |
#define IPT_CONNTRACK_STATE_INVALID (1 << 0) |
#define IPT_CONNTRACK_STATE_SNAT (1 << (IP_CT_NUMBER + 1)) |
#define IPT_CONNTRACK_STATE_UNTRACKED (1 << (IP_CT_NUMBER + 3)) |
#define IPT_CONNTRACK_STATUS 0x40 |
#define KERNEL_VERSION | ( | a, | |
b, | |||
c | |||
) | (((a) << 16) | ((b) << 8) | (c)) |