netfilter: nf_conntrack: support conntrack templates
authorPatrick McHardy <kaber@trash.net>
Wed, 3 Feb 2010 13:13:03 +0000 (14:13 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 3 Feb 2010 13:40:17 +0000 (14:40 +0100)
commitb2a15a604d379af323645e330638e2cfcc696aff
tree75a863636fae6f5e3fcf3dacbdee3ccf1f8b7c8d
parent0cebe4b4163b6373c9d24c1a192939777bc27e55
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>
include/linux/netfilter/nf_conntrack_common.h
include/net/netfilter/nf_conntrack.h
include/net/netfilter/nf_conntrack_helper.h
net/ipv4/netfilter/nf_defrag_ipv4.c
net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_helper.c
net/netfilter/nf_conntrack_netlink.c