diff options
author | Benoît Ganne <bganne@cisco.com> | 2021-10-13 19:16:07 +0200 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-03-08 18:16:03 +0000 |
commit | 7fc0ee7f65fbbced6e987f8bfd927a595b7ff7ee (patch) | |
tree | 1625e1e5e289184748caa481bceffa586ef270ef /src/vnet/classify/classify.api | |
parent | 26fec718f2fa7913a484008fca7b1bc015c6efb5 (diff) |
classify: add API to retrieve punt ACL tables
Type: feature
Change-Id: Ica3e60836c0f26518ba2c238a8c03ce3648ea69b
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/classify/classify.api')
-rw-r--r-- | src/vnet/classify/classify.api | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/vnet/classify/classify.api b/src/vnet/classify/classify.api index d1d7340302f..00963f6fb6a 100644 --- a/src/vnet/classify/classify.api +++ b/src/vnet/classify/classify.api @@ -436,6 +436,30 @@ autoreply define punt_acl_add_del bool is_add [default=true]; }; +/** \brief Get classify table ids configured for punt ACL + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request +*/ +define punt_acl_get +{ + u32 client_index; + u32 context; +}; + +/** \brief Reply for punt_acl_get + @param context - sender context which was passed in the request + @param retval - return value (0 for success) + @param ip4_table_index - ip4 punt classify table index (~0 for none) + @param ip6_table_index - ip6 punt classify table index (~0 for none) +*/ +define punt_acl_get_reply +{ + u32 context; + i32 retval; + u32 ip4_table_index; + u32 ip6_table_index; +}; + /** \brief Set/unset output ACL interface @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request |