]> git.karo-electronics.de Git - mv-sheeva.git/commit
[NETFILTER]: nf_conntrack: Introduces nf_ct_get_tuplepr and uses it
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Sun, 15 Jul 2007 03:45:14 +0000 (20:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Jul 2007 03:45:14 +0000 (20:45 -0700)
commite2a3123fbe58da9fd3f35cd242087896ace6049f
treef17f8b6f505bb50be97e204c382a92288f75c986
parentffc30690480bdd337e4914302b926d24870b56b2
[NETFILTER]: nf_conntrack: Introduces nf_ct_get_tuplepr and uses it

nf_ct_get_tuple() requires the offset to transport header and that bothers
callers such as icmp[v6] l4proto modules. This introduces new function
to simplify them.

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/nf_conntrack.h
net/ipv4/netfilter/nf_conntrack_proto_icmp.c
net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
net/netfilter/nf_conntrack_core.c