Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
acl-plugin: VPP-1241: fix the "show acl-plugin tables applied" output
[vpp.git]
/
src
/
plugins
/
acl
/
hash_lookup_types.h
diff --git
a/src/plugins/acl/hash_lookup_types.h
b/src/plugins/acl/hash_lookup_types.h
index
837cc0a
..
1a20ebf
100644
(file)
--- a/
src/plugins/acl/hash_lookup_types.h
+++ b/
src/plugins/acl/hash_lookup_types.h
@@
-38,7
+38,11
@@
typedef struct {
typedef struct {
/* The mask types present in this ACL */
uword *mask_type_index_bitmap;
typedef struct {
/* The mask types present in this ACL */
uword *mask_type_index_bitmap;
+ /* hash ACL applied on these lookup contexts */
+ u32 *lc_index_list;
hash_ace_info_t *rules;
hash_ace_info_t *rules;
+ /* a boolean flag set when the hash acl info is initialized */
+ int hash_acl_exists;
} hash_acl_info_t;
typedef struct {
} hash_acl_info_t;
typedef struct {
@@
-61,6
+65,14
@@
typedef struct {
* chain tail, if this is the first entry
*/
u32 tail_applied_entry_index;
* chain tail, if this is the first entry
*/
u32 tail_applied_entry_index;
+ /*
+ * number of hits on this entry
+ */
+ u64 hitcount;
+ /*
+ * acl position in vector of ACLs within lookup context
+ */
+ u32 acl_position;
/*
* Action of this applied ACE
*/
/*
* Action of this applied ACE
*/