]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9500815bb9d3a2046f3d0198482d6e75a3dad2f
treeb046f3b29ccb522f0593472029567ff4d5fcd7c7
parenta03318566122f270acdf8aabc9716865db6614c2
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