From 378ac0533e5ac8c3121d8f66ba61a8548e55282f Mon Sep 17 00:00:00 2001 From: Steve Shin Date: Wed, 21 Mar 2018 11:35:12 -0700 Subject: 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 --- src/plugins/acl/acl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/acl/acl.h') 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; -- cgit 1.2.3-korg