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)
commitc1e2e04388b2539960453689b8e721709f71dc9c
tree60839a0e475168c92ad8fb17adac3723289a572f
parentac8cc925d35fc5a05da2bd097e602f20de2478a4
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