acl-plugin: add hitcount to applied hash-acl entries 39/8339/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 7 Sep 2017 11:49:07 +0000 (13:49 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 8 Sep 2017 05:44:53 +0000 (05:44 +0000)
commita546ef96a8170aeea70d771ee45662cadc628344
tree2e63d4408ab29f2c49ca5fbdf23cf28df2912e6a
parent3079a64e19e997e6735b633377285bb5718f4067
acl-plugin: add hitcount to applied hash-acl entries

Add a counter incremented upon the ACL check,
so it is easier to see which kind of traffic
is being checked by the policy, add the corresponding
output to the debug CLI "show acl-plugin tables" command.

Change-Id: Id811dddf204e63eeceabfcc509e3e9c5aae1dbc8
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl.c
src/plugins/acl/hash_lookup.c
src/plugins/acl/hash_lookup_types.h