summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-04-12 18:14:23 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-04-18 20:39:41 +0200
commitb4ef159927150bf1d63f36330bbb5239516ceb69 (patch)
tree0b30997d4cc46842177684cd913e7aa5bdd2f3d6 /include/net
parent4054ff45454a9a4652e29ac750a6600f6fdcc216 (diff)
downloadlinux-stable-b4ef159927150bf1d63f36330bbb5239516ceb69.tar.gz
linux-stable-b4ef159927150bf1d63f36330bbb5239516ceb69.tar.bz2
linux-stable-b4ef159927150bf1d63f36330bbb5239516ceb69.zip
netfilter: connlabels: move helpers to xt_connlabel
Currently labels can only be set either by iptables connlabel match or via ctnetlink. Before adding nftables set support, clean up the clabel core and move helpers that nft will not need after all to the xtables module. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netfilter/nf_conntrack_labels.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_conntrack_labels.h b/include/net/netfilter/nf_conntrack_labels.h
index 7e2b1d025f50..51678180e56c 100644
--- a/include/net/netfilter/nf_conntrack_labels.h
+++ b/include/net/netfilter/nf_conntrack_labels.h
@@ -45,7 +45,6 @@ static inline struct nf_conn_labels *nf_ct_labels_ext_add(struct nf_conn *ct)
#endif
}
-bool nf_connlabel_match(const struct nf_conn *ct, u16 bit);
int nf_connlabel_set(struct nf_conn *ct, u16 bit);
int nf_connlabels_replace(struct nf_conn *ct,