diff options
author | Khers <s3m2e1.6star@gmail.com> | 2018-12-10 13:22:14 +0330 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-12-11 15:13:37 +0000 |
commit | bb5d22dafb394c6a619894bb803f770266f223f0 (patch) | |
tree | 51e729bf9082b0ca429144d2e57309732247136c /src/plugins/acl/acl.api | |
parent | a409f2729ac2431aeee5a18889b4d2e5634c713f (diff) |
New api in order to get max entries of connection table is added.
Change-Id: I2f81ec95de55ad2355f82550451ad825c228e5cd
Signed-off-by: Khers <s3m2e1.6star@gmail.com>
Diffstat (limited to 'src/plugins/acl/acl.api')
-rw-r--r-- | src/plugins/acl/acl.api | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/plugins/acl/acl.api b/src/plugins/acl/acl.api index b58ed76673a..cde46c444dd 100644 --- a/src/plugins/acl/acl.api +++ b/src/plugins/acl/acl.api @@ -19,7 +19,7 @@ used to control the ACL plugin */ -option version = "1.0.0"; +option version = "1.0.1"; /** \brief Get the plugin version @param client_index - opaque cookie to identify the sender @@ -69,6 +69,27 @@ define acl_plugin_control_ping_reply u32 vpe_pid; }; +/** \brief Get Connection table max entries + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request +*/ + +define acl_plugin_get_conn_table_max_entries +{ + u32 client_index; + u32 context; +}; + +/** \brief Reply to get connection table max entries + @param context - sender context, to match reply w/ request + @param conn_table_max_entries - the value of maximum entries of connection table +*/ +define acl_plugin_get_conn_table_max_entries_reply +{ + u32 context; + u64 conn_table_max_entries; +}; + /** \brief Access List Rule entry @param is_permit - deny (0), permit (1), or permit+reflect(2) action on this rule. @param is_ipv6 - IP addresses in this rule are IPv6 (1) or IPv4 (0) |