diff options
author | Patrick McHardy <kaber@trash.net> | 2010-02-03 14:13:03 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-02-03 14:40:17 +0100 |
commit | b2a15a604d379af323645e330638e2cfcc696aff (patch) | |
tree | 75a863636fae6f5e3fcf3dacbdee3ccf1f8b7c8d /include/linux/netfilter | |
parent | 0cebe4b4163b6373c9d24c1a192939777bc27e55 (diff) | |
download | kernel_samsung_espresso10-b2a15a604d379af323645e330638e2cfcc696aff.zip kernel_samsung_espresso10-b2a15a604d379af323645e330638e2cfcc696aff.tar.gz kernel_samsung_espresso10-b2a15a604d379af323645e330638e2cfcc696aff.tar.bz2 |
netfilter: nf_conntrack: support conntrack templates
Support initializing selected parameters of new conntrack entries from a
"conntrack template", which is a specially marked conntrack entry attached
to the skb.
Currently the helper and the event delivery masks can be initialized this
way.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r-- | include/linux/netfilter/nf_conntrack_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netfilter/nf_conntrack_common.h b/include/linux/netfilter/nf_conntrack_common.h index ebfed90..c608677 100644 --- a/include/linux/netfilter/nf_conntrack_common.h +++ b/include/linux/netfilter/nf_conntrack_common.h @@ -72,6 +72,10 @@ enum ip_conntrack_status { /* Connection has fixed timeout. */ IPS_FIXED_TIMEOUT_BIT = 10, IPS_FIXED_TIMEOUT = (1 << IPS_FIXED_TIMEOUT_BIT), + + /* Conntrack is a template */ + IPS_TEMPLATE_BIT = 11, + IPS_TEMPLATE = (1 << IPS_TEMPLATE_BIT), }; /* Connection tracking event types */ |