]> err.no Git - linux-2.6/commit
[NETFILTER]: nf_conntrack: make l3proto->prepare() generic and renames it
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Sun, 15 Jul 2007 03:44:50 +0000 (20:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Jul 2007 03:44:50 +0000 (20:44 -0700)
commitffc30690480bdd337e4914302b926d24870b56b2
tree805dfdda135a6f91648aded75b1cfb754705a4b4
parentd87d8469e2dd19a3a134b99f78288d41854c614b
[NETFILTER]: nf_conntrack: make l3proto->prepare() generic and renames it

The icmp[v6] l4proto modules parse headers in ICMP[v6] error to get tuple.
But they have to find the offset to transport protocol header before that.
Their processings are almost same as prepare() of l3proto modules.
This makes prepare() more generic to simplify icmp[v6] l4proto module
later.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/ipv6/nf_conntrack_ipv6.h
include/net/netfilter/nf_conntrack_l3proto.h
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_l3proto_generic.c