diff options
author | Eric B Munson <[email protected]> | 2016-10-10 21:59:21 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <[email protected]> | 2016-11-10 13:28:44 +0100 |
commit | a54dad51a83ba08e951191ce3e1e9eb44750c0bb (patch) | |
tree | dccc289da11dae03e2599c4dc2a85480d58abeab /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 837a90eab67edfa464dcc0ddef193449d23da408 (diff) |
netfilter: ipset: Add element count to hash headers
It would be useful for userspace to query the size of an ipset hash,
however, this data is not exposed to userspace outside of counting the
number of member entries. This patch uses the attribute
IPSET_ATTR_ELEMENTS to indicate the size in the the header that is
exported to userspace. This field is then printed by the userspace
tool for hashes.
Signed-off-by: Eric B Munson <[email protected]>
Cc: Pablo Neira Ayuso <[email protected]>
Cc: Josh Hunt <[email protected]>
Cc: [email protected]
Signed-off-by: Jozsef Kadlecsik <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions