aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/acl/hash_lookup_types.h
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2019-03-20 17:47:03 +0100
committerDamjan Marion <dmarion@me.com>2019-03-22 17:33:09 +0000
commit8e843bbf40aa2bd21f6d7fef02c4230ea66c3bdd (patch)
tree44f5e200d056c1142f3b409582f992ec39974e95 /src/plugins/acl/hash_lookup_types.h
parent9f3d3ceb0130aba2eb11a5cbd2fcef3384864fe8 (diff)
acl-plugin: get rid of doubly-linked list fields in hash applied ACEs
With collision match vector, the doubly-linked list is not needed anymore. Change-Id: Iaf667ebe6ce0bdd78306bec31d3949e6acb8d401 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/plugins/acl/hash_lookup_types.h')
-rw-r--r--src/plugins/acl/hash_lookup_types.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/plugins/acl/hash_lookup_types.h b/src/plugins/acl/hash_lookup_types.h
index 3efcf4e372c..63b92455325 100644
--- a/src/plugins/acl/hash_lookup_types.h
+++ b/src/plugins/acl/hash_lookup_types.h
@@ -61,19 +61,9 @@ typedef struct {
/* applied mask type index */
u32 mask_type_index;
/*
- * in case of the same key having multiple entries,
- * this holds the index of the next entry.
+ * index of applied entry, which owns the colliding_rules vector
*/
- u32 next_applied_entry_index;
- /*
- * previous entry in the list of the chained ones,
- * if ~0 then this is entry in the hash.
- */
- u32 prev_applied_entry_index;
- /*
- * chain tail, if this is the first entry
- */
- u32 tail_applied_entry_index;
+ u32 collision_head_ae_index;
/*
* Collision rule vector for matching - set only on head entry
*/