Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | nf_ct_ext |
struct | nf_ct_ext_type |
Macros | |
#define | NF_CT_EXT_HELPER_TYPE struct nf_conn_help |
#define | NF_CT_EXT_NAT_TYPE struct nf_conn_nat |
#define | NF_CT_EXT_ACCT_TYPE struct nf_conn_counter |
#define | NF_CT_EXT_ECACHE_TYPE struct nf_conntrack_ecache |
#define | NF_CT_EXT_ZONE_TYPE struct nf_conntrack_zone |
#define | NF_CT_EXT_TSTAMP_TYPE struct nf_conn_tstamp |
#define | NF_CT_EXT_TIMEOUT_TYPE struct nf_conn_timeout |
#define | nf_ct_ext_find(ext, id) ((id##_TYPE *)__nf_ct_ext_find((ext), (id))) |
#define | nf_ct_ext_add(ct, id, gfp) ((id##_TYPE *)__nf_ct_ext_add_length((ct), (id), 0, (gfp))) |
#define | nf_ct_ext_add_length(ct, id, len, gfp) ((id##_TYPE *)__nf_ct_ext_add_length((ct), (id), (len), (gfp))) |
#define | NF_CT_EXT_F_PREALLOC 0x0001 |
Enumerations | |
enum | nf_ct_ext_id { NF_CT_EXT_HELPER, NF_CT_EXT_ACCT, NF_CT_EXT_NUM } |
Functions | |
void | __nf_ct_ext_destroy (struct nf_conn *ct) |
void * | __nf_ct_ext_add_length (struct nf_conn *ct, enum nf_ct_ext_id id, size_t var_alloc_len, gfp_t gfp) |
int | nf_ct_extend_register (struct nf_ct_ext_type *type) |
void | nf_ct_extend_unregister (struct nf_ct_ext_type *type) |
#define NF_CT_EXT_ACCT_TYPE struct nf_conn_counter |
Definition at line 31 of file nf_conntrack_extend.h.
Definition at line 86 of file nf_conntrack_extend.h.
#define nf_ct_ext_add_length | ( | ct, | |
id, | |||
len, | |||
gfp | |||
) | ((id##_TYPE *)__nf_ct_ext_add_length((ct), (id), (len), (gfp))) |
Definition at line 88 of file nf_conntrack_extend.h.
#define NF_CT_EXT_ECACHE_TYPE struct nf_conntrack_ecache |
Definition at line 32 of file nf_conntrack_extend.h.
#define NF_CT_EXT_F_PREALLOC 0x0001 |
Definition at line 91 of file nf_conntrack_extend.h.
Definition at line 62 of file nf_conntrack_extend.h.
#define NF_CT_EXT_HELPER_TYPE struct nf_conn_help |
Definition at line 29 of file nf_conntrack_extend.h.
#define NF_CT_EXT_NAT_TYPE struct nf_conn_nat |
Definition at line 30 of file nf_conntrack_extend.h.
#define NF_CT_EXT_TIMEOUT_TYPE struct nf_conn_timeout |
Definition at line 35 of file nf_conntrack_extend.h.
#define NF_CT_EXT_TSTAMP_TYPE struct nf_conn_tstamp |
Definition at line 34 of file nf_conntrack_extend.h.
#define NF_CT_EXT_ZONE_TYPE struct nf_conntrack_zone |
Definition at line 33 of file nf_conntrack_extend.h.
enum nf_ct_ext_id |
Definition at line 8 of file nf_conntrack_extend.h.
void* __nf_ct_ext_add_length | ( | struct nf_conn * | ct, |
enum nf_ct_ext_id | id, | ||
size_t | var_alloc_len, | ||
gfp_t | gfp | ||
) |
Definition at line 72 of file nf_conntrack_extend.c.
Definition at line 22 of file nf_conntrack_extend.c.
int nf_ct_extend_register | ( | struct nf_ct_ext_type * | type | ) |
Definition at line 160 of file nf_conntrack_extend.c.
void nf_ct_extend_unregister | ( | struct nf_ct_ext_type * | type | ) |
Definition at line 183 of file nf_conntrack_extend.c.