From 428ad94fb6c8d1d6d425e81b22917943e3e8555d Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 21 Jan 2014 13:36:17 -0500 Subject: [PATCH] PR16476: adapt to netfilter API changes in linux 3.13 * runtime/linux/autoconf-netfilter.c: Whoa, who goes there? --- runtime/linux/autoconf-netfilter.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 runtime/linux/autoconf-netfilter.c diff --git a/runtime/linux/autoconf-netfilter.c b/runtime/linux/autoconf-netfilter.c new file mode 100644 index 000000000..f12266416 --- /dev/null +++ b/runtime/linux/autoconf-netfilter.c @@ -0,0 +1,16 @@ +#include + +unsigned int +new_style_hook(const struct nf_hook_ops *ops, /* not: unsigned int hook; */ + struct sk_buff *skb, + const struct net_device *in, const struct net_device *out, + int (*okfn)(struct sk_buff *)) +{ + (void) ops; (void) skb; (void) in; (void) out; (void) okfn; + return 0; +} + +struct nf_hook_ops netfilter_ops = { + .hook = new_style_hook +}; + -- 2.43.5