mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Yi-Hung Wei](/assets/img/avatar_default.png)
Remove parameter 'family' in nf_conncount_count() and count_tree().
It is because the parameter is not useful after commit 625c556118
("netfilter: connlimit: split xt_connlimit into front and backend").
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
16 lines
503 B
C
16 lines
503 B
C
#ifndef _NF_CONNTRACK_COUNT_H
|
|
#define _NF_CONNTRACK_COUNT_H
|
|
|
|
struct nf_conncount_data;
|
|
|
|
struct nf_conncount_data *nf_conncount_init(struct net *net, unsigned int family,
|
|
unsigned int keylen);
|
|
void nf_conncount_destroy(struct net *net, unsigned int family,
|
|
struct nf_conncount_data *data);
|
|
|
|
unsigned int nf_conncount_count(struct net *net,
|
|
struct nf_conncount_data *data,
|
|
const u32 *key,
|
|
const struct nf_conntrack_tuple *tuple,
|
|
const struct nf_conntrack_zone *zone);
|
|
#endif
|