X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Facl%2Facl.h;h=f63771f4dacf489c919e854042a3b228684a4f9b;hb=22f9fb1286d2469819cfcef68ffdc258f4d52c24;hp=0c0a6db5af72a8f4cbba35637d77aecd82836a0c;hpb=4bc1796b346efd10f3fb19b176ff089179263a24;p=vpp.git diff --git a/src/plugins/acl/acl.h b/src/plugins/acl/acl.h index 0c0a6db5af7..f63771f4dac 100644 --- a/src/plugins/acl/acl.h +++ b/src/plugins/acl/acl.h @@ -26,6 +26,7 @@ #include #include #include +#include #include "fa_node.h" #include "hash_lookup_types.h" @@ -246,7 +247,8 @@ typedef struct { uword *fa_out_acl_on_sw_if_index; /* bihash holding all of the sessions */ int fa_sessions_hash_is_initialized; - clib_bihash_40_8_t fa_sessions_hash; + clib_bihash_40_8_t fa_ip6_sessions_hash; + clib_bihash_16_8_t fa_ip4_sessions_hash; /* The process node which orcherstrates the cleanup */ u32 fa_cleaner_node_index; /* FA session timeouts, in seconds */ @@ -388,15 +390,7 @@ AH has a special treatment of its length, it is in 32-bit words, not 64-bit word extern acl_main_t acl_main; -/* - * pointer to the above. - * Needed for some gymnastics to be able to provide - * the inline functions from this plugin to other plugins. - */ - -extern acl_main_t *p_acl_main; void *acl_plugin_set_heap(); - #endif