[Cake] [PATCH net-next v16 4/8] netfilter: Add nf_ct_get_tuple_skb callback
Pablo Neira Ayuso
pablo at netfilter.org
Mon May 28 15:49:02 EDT 2018
On Mon, May 28, 2018 at 04:27:46PM +0200, Toke Høiland-Jørgensen wrote:
[...]
> diff --git a/net/netfilter/core.c b/net/netfilter/core.c
> index 0f6b8172fb9a..520565198f0e 100644
> --- a/net/netfilter/core.c
> +++ b/net/netfilter/core.c
> @@ -572,6 +572,27 @@ void nf_conntrack_destroy(struct nf_conntrack *nfct)
> }
> EXPORT_SYMBOL(nf_conntrack_destroy);
>
> +bool (*skb_ct_get_tuple)(struct nf_conntrack_tuple *,
> + const struct sk_buff *) __rcu __read_mostly;
> +EXPORT_SYMBOL(skb_ct_get_tuple);
Now we have struct nf_ct_hook in net-next, please add ->get_tuple to
that new object.
Thanks.
More information about the Cake
mailing list