netfilter: ctnetlink: deliver labels to userspace
authorFlorian Westphal <fw@strlen.de>
Fri, 11 Jan 2013 06:30:45 +0000 (06:30 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 17 Jan 2013 23:28:16 +0000 (00:28 +0100)
commit0ceabd83875b72a29f33db4ab703d6ba40ea4c58
treeb046f3b29ccb522f0593472029567ff4d5fcd7c7
parentc539f01717c239cfa0921dd43927afc976f1eedc
netfilter: ctnetlink: deliver labels to userspace

Introduce CTA_LABELS attribute to send a bit-vector of currently active labels
to userspace.

Future patch will permit userspace to also set/delete active labels.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nf_conntrack_common.h
include/uapi/linux/netfilter/nfnetlink_conntrack.h
net/netfilter/nf_conntrack_labels.c
net/netfilter/nf_conntrack_netlink.c