]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipset: support listing setnames and headers too
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 16 Jun 2011 16:47:07 +0000 (18:47 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 16 Jun 2011 16:47:07 +0000 (18:47 +0200)
commit7cd96ddda124608e92d098df3fcb68065fd78b93
tree60839a0e475168c92ad8fb17adac3723289a572f
parent14767a4799c1999fee59d13ee8ad09d3fd0993cb
netfilter: ipset: support listing setnames and headers too

Current listing makes possible to list sets with full content only.
The patch adds support partial listings, i.e. listing just
the existing setnames or listing set headers, without set members.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/ipset/ip_set.h
net/netfilter/ipset/ip_set_core.c