GNU Linux-libre 4.14.290-gnu1
[releases.git] / include / net / netfilter / nf_conntrack_count.h
1 #ifndef _NF_CONNTRACK_COUNT_H
2 #define _NF_CONNTRACK_COUNT_H
3
4 unsigned int nf_conncount_lookup(struct net *net, struct hlist_head *head,
5                                  const struct nf_conntrack_tuple *tuple,
6                                  const struct nf_conntrack_zone *zone,
7                                  bool *addit);
8
9 bool nf_conncount_add(struct hlist_head *head,
10                       const struct nf_conntrack_tuple *tuple,
11                       const struct nf_conntrack_zone *zone);
12
13 void nf_conncount_cache_free(struct hlist_head *hhead);
14
15 #endif