summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@coreworks.de>2004-11-13 16:41:16 +0100
committerPatrick McHardy <kaber@coreworks.de>2004-11-13 16:41:16 +0100
commitd70bfc856dcd33699685e4056988389e5386d1d5 (patch)
treee6d83b46b73fd025068caebdf9a006c9d19efb11 /include
parent2d2ddfcd28a1c587003f34dd9d3c67f5963b182f (diff)
[NETFILTER]: associate locally generated icmp errors with conntrack of original packet
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index ced66929126c..b0ee19e302de 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -173,6 +173,7 @@ extern void nf_reinject(struct sk_buff *skb,
unsigned int verdict);
extern void (*ip_ct_attach)(struct sk_buff *, struct sk_buff *);
+extern void nf_ct_attach(struct sk_buff *, struct sk_buff *);
#ifdef CONFIG_NETFILTER_DEBUG
extern void nf_dump_skb(int pf, struct sk_buff *skb);
@@ -183,6 +184,7 @@ extern void nf_invalidate_cache(int pf);
#else /* !CONFIG_NETFILTER */
#define NF_HOOK(pf, hook, skb, indev, outdev, okfn) (okfn)(skb)
+static inline void nf_ct_attach(struct sk_buff *new, struct sk_buff *skb) {}
#endif /*CONFIG_NETFILTER*/
#endif /*__KERNEL__*/