summaryrefslogtreecommitdiffstats
path: root/src/plugins/acl/acl.h
diff options
context:
space:
mode:
authorSteve Shin <jonshin@cisco.com>2018-03-21 11:35:12 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2018-03-21 21:58:00 +0000
commit378ac0533e5ac8c3121d8f66ba61a8548e55282f (patch)
treeffdf954dbf4b1e66d35a38d741b02e5cf1986422 /src/plugins/acl/acl.h
parent9cd2d7a5a4fafadb65d772c48109d55d1e19d425 (diff)
acl-plugin: improvement on 'show acl-plugin' CLI
- Show interface on which given MACIP ACL is applied - index is added for show acl-plugin macip acl: ex) show acl-plugin macip acl [index N] Change-Id: I3e888c8e3267060fe157dfc1bbe3e65371bd858a Signed-off-by: Steve Shin <jonshin@cisco.com>
Diffstat (limited to 'src/plugins/acl/acl.h')
-rw-r--r--src/plugins/acl/acl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/acl/acl.h b/src/plugins/acl/acl.h
index 07ed8681ef1..555358c4f66 100644
--- a/src/plugins/acl/acl.h
+++ b/src/plugins/acl/acl.h
@@ -197,6 +197,9 @@ typedef struct {
/* MACIP (input) ACLs associated with the interfaces */
u32 *macip_acl_by_sw_if_index;
+ /* interfaces on which given MACIP ACLs are applied */
+ u32 *sw_if_index_vec_by_macip_acl;
+
/* bitmaps when set the processing is enabled on the interface */
uword *fa_in_acl_on_sw_if_index;
uword *fa_out_acl_on_sw_if_index;